Skip to content

1.0.0

Compare
Choose a tag to compare
@prachigauriar prachigauriar released this 02 Sep 02:56
· 4 commits to main since this release

This is the first release of DevTesting. The initial feature set includes

  • SeedableRandomNumberGenerator, a random number generator that can be seeded to enable repeatable tests with random data.
  • RandomValueGenerating, a protocol that your test suite can conform to add random value generation. It uses a seedable random number generator, and logs the seed before every test so that you can debug tests that failed. It also includes convenient functions for generating random data:
    • Booleans
    • Case iterables
    • Data
    • Floating point types
    • Integer types
    • Optionals
    • Strings
    • UUIDs
    • URLs, URL components, and URL query items
  • Stub and ThrowingStub provide stubbing and spying functionality for your mock objects.