Breaking changes:
thirdparty/gomocktestreporteris gone. UseGinkgoT()instead- Modified the Reporter interface
watchis now a subcommand, not a flag.
DSL changes:
BeforeSuiteandAfterSuitefor setting up and tearing down test suites.AfterSuiteis triggered on interrupt (^C) as well as exit.SynchronizedBeforeSuiteandSynchronizedAfterSuitefor setting up and tearing down singleton resources across parallel nodes.
CLI changes:
watchis now a subcommand, not a flag--nodotflag can be passed toginkgo generateandginkgo bootstrapto avoid dot imports. This explicitly imports all exported identifiers in Ginkgo and Gomega. Refreshing this list can be done by runningginkgo nodot- Additional arguments can be passed to specs. Pass them after the
--separator --skipPackageflag takes a regexp and ignores any packages with package names passing said regexp.--traceflag prints out full stack traces when errors occur, not just the line at which the error occurs.
Misc:
- Start using semantic versioning
- Start maintaining changelog
Major refactor:
- Pull out Ginkgo's internal to
internal - Rename
exampleeverywhere tospec - Much more!