Pakket: golang-github-poy-onpar-dev (0.3.3-1.1)
Verwijzigingen voor golang-github-poy-onpar-dev
Debian bronnen:
Het bronpakket golang-github-poy-onpar downloaden:
- [golang-github-poy-onpar_0.3.3-1.1.dsc]
- [golang-github-poy-onpar_0.3.3.orig.tar.gz]
- [golang-github-poy-onpar_0.3.3-1.1.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [github.com]
Vergelijkbare pakketten:
Parallel testing framework for Go (library)
Onpar provides a BDD style of testing, similar to what you might find with something like ginkgo or goconvey. The biggest difference between onpar and its peers is that a BeforeEach function in onpar may return a value, and that value will become the parameter required in child calls to Spec, AfterEach, and BeforeEach.
This allows you to write tests that share memory between BeforeEach, Spec, and AfterEach functions without sharing memory with other tests. When used properly, this makes test pollution nearly impossible and makes it harder to write flaky tests.