Skip to content

Releases: MarvinJWendt/testza

v0.2.8

19 Sep 22:28
Compare
Choose a tag to compare

Features

  • assert: added AssertRegexp and AssertNotRegexp
  • assert: added AssertIncreasing and AssertDecreasing
  • assert: added AssertLen
  • assert: added error message to AssertNoError

v0.2.7

27 Aug 19:20
Compare
Choose a tag to compare

Features

  • assert: added AssertErrorIs and AssertNotErrorIs

Test

  • assert: added tests for AssertErrorIs and AssertNotErrorIs

v0.2.6

25 Aug 13:44
Compare
Choose a tag to compare

Features

  • capture: add CaptureStdoutAndStderr

Documentation

  • added examples to most functions
  • improved docs

Code Refactoring

  • rename variable in MockInputXXXModify functions

v0.2.5

23 Aug 22:13
Compare
Choose a tag to compare

Bug Fixes

  • assert: fix AssertNil and AssertNotNil on non basic types

Test

  • assert: add tests for AssertNil with non basic types

v0.2.4

19 Aug 16:49
Compare
Choose a tag to compare

Features

  • add configurable options
    • add setting to turn off colored output
    • add setting to turn off line numbers in output

Test

  • configuration: add tests to configuration values

v0.2.3

19 Aug 15:22
Compare
Choose a tag to compare

Bug Fixes

  • assert: get correctly formatted error messages on mocked test runner

v0.2.2

16 Aug 14:19
Compare
Choose a tag to compare

Documentation

  • added some examples to most functions

Snapshots 🎉

12 Aug 01:28
Compare
Choose a tag to compare

Features

  • snapshot: add snapshot functionality

Test

  • delete invalid named snapshot
  • snapshot: make tests pass on linux
  • snapshot: add more error tests to Snapshot
  • snapshot: add Snapshot tests

Code Refactoring

  • fix linting and make 1.15.X tests pass
  • snapshot: make linebreaks consistent

v0.2.0

21 Jul 17:46
Compare
Choose a tag to compare

Features

  • assert: add AssertTestFails

Test

  • rename test functions to new structure
  • assert: test that assertions fail when they should
  • assert: cleanup tests for AssertTestFails
  • assert: add more tests to AssertEqual
  • assert: add tests for AssertTestFails
  • mock: add test for MockInputIntModify
  • mock: add test for MockInputFloat64Modify
  • mock: add test for MockInputFloat64GenerateRandomPositive and MockInputFloat64GenerateRandomNegative
  • mock: add test for MockInputBoolModify

Code Refactoring

  • move tests into own package
  • assert: change AssertPanic to AssertPanics

BREAKING CHANGE

change AssertPanic to AssertPanics

v0.1.0

19 Jul 12:36
Compare
Choose a tag to compare

Code Refactoring

  • rewrite CI to new structure
  • change structure