go-assert

A collection of Golang assertion functions for verifying invariants.

MIT License

Stars
0

Bot releases are hidden (Show)

go-assert - Assertion for Go v1.1.0 Latest Release

Published by ghosind 3 months ago

New Feature

  • Add IsError and NotIsError,
go-assert - Assertion for Go v1.0.3

Published by ghosind 9 months ago

Features

  • isOrderable supports the alias of the primitive orderable types.
go-assert - v1.0.2

Published by ghosind 9 months ago

Changes

  • Add PanicOf and NotPanicOf assertion functions.
go-assert - Assertion for Go v1.0.1

Published by ghosind 9 months ago

Assertion for Go is a collection of assertion functions that extend the built-in testing package.

New Features

  • Equal support to compare n-dimensions slice/array.
go-assert - Assertion for Go v1.0.0

Published by ghosind 10 months ago

Assertion for Go is a collection of assertion functions that extend the built-in testing package.

Breaking Changes

  • The supported minimum go version is 1.18.
  • The equality of mixed signed and unsigned is always false.

New Features

  • New comparison assertion functions.

Changes

  • Panic a predefined error if the parameters do not match the requirements.
  • Mark testXXX as the test helper functions.
  • Rename isComparable to isOrderable.
go-assert - v0.2.1

Published by ghosind about 1 year ago

New Feature

  • Add map assertion functions MapHasKey and MapHasValue.
go-assert - v0.2.0

Published by ghosind about 1 year ago

New Features

  • Add ContainsElement.

Changes

  • Refactor test cases.
go-assert - v0.1.7

Published by ghosind about 1 year ago

go-assert v0.1.7

New Features

  • Add string assertion functions.

Changes

  • Allow checking the equality between int and uint values.
  • uintptr is also an unsigned integer.
go-assert - v0.1.6

Published by ghosind about 1 year ago

Hotfix version for isEqual function.

go-assert - v0.1.5

Published by ghosind about 1 year ago

New Features

  • Add Equal assertions.
  • Add regular expression matching assertions.

Changes

  • Overwrite Assertion.Run method.
go-assert - v0.1.4

Published by ghosind about 1 year ago

New Feature

  • Add True and NotTrue functions to test the truthy of a value.
go-assert - v0.1.3

Published by ghosind about 1 year ago

Features and Changes

  • Assertion inherit from testing.T.
  • Make public functions as helper function.
  • Fix NotPanicNow error.
  • Update test cases.
go-assert - v0.1.1

Published by ghosind over 1 year ago

New features

  • Add Nil and NotNil.
  • Add delegation functions of testing.T.
go-assert - v0.1.0

Published by ghosind over 1 year ago