Skip to content

go-test-go

Compare
Choose a tag to compare
@LisiLisenok LisiLisenok released this 09 Mar 09:41
· 187 commits to master since this release

Rather different API comparing to 0.1.0-0.4.0

Tests are grouped by container - class or package (for top-level functions).
Groups are executed sequentially while tests within specific group may be executed both sequentially or concurrently. Group execution order may be sorted before testing.
If test functions are grouped using class declaration, only one instance of the class is used durinng all test runcycle.

In order to perform initialization class must satisfy TestSuite interface. after and before annotations don't work with asyncTest.

All assertXXX methods are deprecated - use matchers instead.