v0.4.1 - 2022-04-10
v0.4.0 - 2022-04-10
v0.3.5 - 2022-04-07
v0.3.4 - 2022-04-07
v0.3.3 - 2022-04-05
- correct file perms on nested snapshot dir
v0.3.2 - 2022-03-31
- parse snapshots with regex if they are strings fix: conditional diff rendering fix: hide long common diff lines
- rich difference detection
- show 0 context if specified
- move diff to last object slot chore: rename context line count variable
- correctly handle newlines in diffs
- conditional diff buffer flushing
v0.3.1 - 2022-03-21
- added better styling for
AssertNoError
- fixed
AssertDirEmpty
failing when dir does not exist
v0.3.0 - 2022-03-20
- print custom messages
- fixed nested snapshots
- added output consistency tests for failed assertions
- renamed
Mock
toFuzz
Adapting to this breaking change is easily done by replacing all occurrences of testza.Mock
with testza.Fuzz
v0.2.15 - 2022-02-14
- configure: Added option to disable the startup message
- capture: added more tests for output capturing
v0.2.14 - 2022-01-16
- assert: added
AssertSubset
andAssertNoSubset
v0.2.13 - 2022-01-16
- proposal AssertSameElements
- assert: fixed missing custom messages in some functions
- assert: clean code
- assert: made output message for
AssertSameElements
more fluent
v0.2.12 - 2021-11-09
- snapshot: fixed snapshots always created in testza directory (#65)
v0.2.11 - 2021-11-02
- added startup information output
- assert: added AssertNoDirExists and AssertDirExists. fixes #36
- configuration: added
SetRandomSeed
v0.2.10 - 2021-10-20
- assert: added AssertDirEmpty and AssertDirNotEmpty. fixes #37 (#52)
- assert: added
AssertFileExists
andAssertNoFileExists
v0.2.9 - 2021-09-21
- assert: renamed internal variable
- assert: moved
AssertCompareHelper
to assertion_helper.go - assert: moved getter functions to internal package
- internal: moved
AssertRegexpHelper
to right file
v0.2.8 - 2021-09-19
- assert: added
AssertRegexp
andAssertNotRegexp
- assert: added
AssertIncreasing
andAssertDecreasing
- assert: added
AssertLen
- assert: added error message to
AssertNoError
- assert: added regexp tests for
AssertRegexp
&AssertNotRegexp
- assert: changed parameter for
Assert(Not)Regexp
to interface - assert: changed parameter for
Assert(Not)Regexp
to interface - assert: changed parameter for
Assert(Not)Regexp
to interface - assert: rearranged parameters
- assert: change fail message
- assert: rearranged imports
- assert: removed unused break statements
- assert: renamed variable in
AssertLen
v0.2.7 - 2021-08-27
- assert: added
AssertErrorIs
andAssertNotErrorIs
- assert: added tests for
AssertErrorIs
andAssertNotErrorIs
v0.2.6 - 2021-08-24
- capture: add
CaptureStdoutAndStderr
- rename variable in
MockInputXXXModify
functions
v0.2.5 - 2021-08-23
- assert: fix
AssertNil
andAssertNotNil
on non basic types
- assert: add tests for
AssertNil
with non basic types
v0.2.4 - 2021-08-19
- add configuratable options
- configuration: add tests to configuration values
v0.2.3 - 2021-08-17
- assert: get correctly formatted error messages on mocked test runner
v0.2.2 - 2021-08-16
v0.2.1 - 2021-08-12
- snapshot: add snapshot functionality
- delete invalid named snapshot
- snapshot: make tests pass on linux
- snapshot: add more error tests to Snapshot
- snapshot: add Snapshot tests
- fix linting and make 1.15.X tests pass
- snapshot: make linebreaks consistent
v0.2.0 - 2021-07-21
- assert: add
AssertTestFails
- 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
andMockInputFloat64GenerateRandomNegative
- mock: add test for
MockInputBoolModify
- move tests into own package
- assert: change
AssertPanic
toAssertPanics
change AssertPanic
to AssertPanics
v0.1.0 - 2021-07-19
- rewrite CI to new structure
- change structure
Functions have a new structure.
v0.0.3 - 2021-07-17
- mock-input-strings: add more email addresses
v0.0.2 - 2021-07-14
- mock-inputs-string: add
Long
test set
- mock-input-strings: add tests for
Limit
- only show difference if the objects are named
Expected
andActual
- add
Getter
and assertion methods - add integer mocking
- add difference to failure messages that have two objects
- add line numbers to failure messages
- add
Use.Assert.KindOf
andUse.Assert.NotKindOf
- add float64 mocking
- add
Use.Assert.Number
andUse.Assert.NotNumber
- add more styling to test errors
- upload code
- assert: add
CompletesIn
andNotCompletesIn
- assert: add
Nil
andNotNil
assertions - assert: add
Panic
andNotPanic
- assert: add
NoError
- assert: add
Greater
andLess
- assert: add
Contains
- capture: add
Stderr
- capture: add
Stdout
- mock: add boolean mockings
- mock-ints: add
GenerateRandomRange
- mock-strings: add numeric strings set
- mock-strings: add email addresses and empty string sets
- check both errors
- check both errors
- fix failure objects with no
DataStyle
- remove blank line at the end of failure messages
- fix Assert naming
- do nothing in
NotPanic
test - assert: try to fix macOS weirdness
- assert: more buffer for
NotCompletesIn
test - assert: add
True
andFalse
tests - mock-string: add tests to
GenerateRandom
- tidy project
- rename
testingT
totestRunner
- move input mocking methods to
Use.Mock.Inputs
- add easier methods for unknown objects
- move from atomicgo to MarvinJWendt
- export Helper structs
- add
Use
variable andcustom_readme
setting - remove unused import alias
- add errors.go
- replace all
testutil
withtestza
- change import path to
testza
- change package name to
testza
- rename
Input
toMock
- set up template
- assert: rename
Number
toNumeric
- internal: rewrite
Fail
for a nicer output