Skip to content

Releases: blugnu/test

v0.12.0

03 Aug 03:27
afb3d9c

Choose a tag to compare

Changelog

  • afb3d9c refactor: add support for default log Writer() (go1.22+)
  • 4db3515 feat: add SkipNow function (closes #44)
  • 74640aa fix: handle 'any' values (fixes #42)
  • 84a4d3e feat: add BeOfType[T] matcher (closes #41)
  • ca4d78f docs: correct function name in comment
  • 259b6a6 lint: update linter configuration; de-lint

v0.11.0

20 Jul 04:13
69f9ef3

Choose a tag to compare

Changelog

  • 69f9ef3 cicd: update coderabbit config
  • 454d601 cicd: update to latest release workflow
  • 02cfa13 cicd: add dependabot configuration (closes #32)
  • 07e564e feat: add OrEqual modifier (closes #38)
  • 43e480d feat: add BeBetween matcher
  • 439973d docs: add documentation for FlakyTest
  • 377c370 feat: add FlakyTest runner (closes #39)

v0.10.0

14 Jul 17:40
5b35d04

Choose a tag to compare

Changelog

  • 5b35d04 chore: update linter configuration
  • e489916 enh: add strack trace to panic test reports (closes #36)
  • d9f1c3f feat: add MeetsExpectations() matcher (closes #34)
  • 68b626d docs: add AnyMatcher and Matcher[T] interface decls
  • 854aa56 feat: add HaveLen() length matcher (closes #35)
  • b5c2f07 feat: add Run() test runners framework
  • 37e27db feat: add test.Warning() function
  • aa6f4f0 refactor: Test() renamed as TestHelper()
  • ae803c5 fix: remove opts argument from EqualSlice matcher factory (fixes #33)

v0.9.1

26 Jun 08:26
8ef94aa

Choose a tag to compare

Changelog

  • 8ef94aa task: bump release workflow version
  • a125810 fix: accept nil args in Returns()
  • 4181c4f chore: delint
  • b6630f4 task: add lint (v2) and coderabbit config

v0.9.0

18 Jun 18:21
c7799df

Choose a tag to compare

Changelog

  • c7799df cicd: add sonarcloud project key config to repo
  • fc6e366 docs: update documentation
  • 4f2b826 fix: fixed options passed to matcher
  • 3c9832e chore: document intentional no-op
  • 31bacc6 fix: 'accept interfaces, return structs'
  • 6d2a62e fix(examples): panic test
  • 8d69d0e feat: fail tests when skip/debug cases > 0 (closes #29)
  • 32cf23e refactor: test scenario naming
  • eb715c9 feat: exit current test when required assertion fails (closes #28)
  • 24e3eb0 feat(options): add IsRequired and AsDeclaration
  • 0108f90 refactor: nilness and emptiness using matchers (closes #27)
  • cb96eb7 refactor: internalise testframe (closes #26) - exports a test package for marking tests as invalid

v0.8.0

01 Jun 01:40
a17e1bd

Choose a tag to compare

Changelog

  • a17e1bd cicd: update workflow
  • aea08f4 docs: document new expectations, matchers and options
  • e4d2225 feat: matchers
  • 8b1bc8f feat: expectation and matcher options
  • 2eff1c4 feat: rewritten expectations eliminating use of 't'

v0.7.0

08 Nov 17:24
71f06a3

Choose a tag to compare

Changelog

  • 71f06a3 doc: documentation added for MockFn and ContextIndicator/ContextValue
  • 8447e00 feat: ContextIndicator/ContextValue test helpers (closes #22)
  • 192ca03 feat: new MockFn[A, R] type to assist with mocking functions (closes #21)
  • 4ba3ca2 feat(Fake[R]): new Returns() method for fluent configuration of result and error
  • 7f90f80 feat: mock configuration and expectation errors

v0.6.0

15 Sep 20:44
bc9aadb

Choose a tag to compare

Changelog

  • bc9aadb ref: removed unnecessary nil check (closes #19)
  • 9d8b1b3 feat: string IsEmpty/IsNotEmpty tests (closes #15)
  • 61382c0 fix: currentFilename() returns the correct filename (closes #18)
  • d874b5d feat: IsError() test (closes #14)
  • 106948d docs: added markdown lint rules and updated README; fixed build status badge (closes #17, #16)

v0.5.0

13 May 18:45
1fdb3f0

Choose a tag to compare

Changelog

  • 1fdb3f0 cicd: use versioned (.reusable) module release workflow
  • c067e6a test: additional test coverage
  • 4f0987b feat(addressOf): test.AddressOf() function (closes #9)
  • 229eebb feat(using): test.Using() function (closes #10)
  • c6c6eed feat(string): test.String() tests (closes #11)
  • 9c42f61 feat(strings): ContainsMatch() test (closes #12)

v0.4.0

02 Apr 06:57
edc1eba

Choose a tag to compare

more flexible Strings() factory; support for testing mocks and a Fake[R] generic type to simplify the implementation of test fakes