1 { lib, buildGoModule, fetchFromGitHub, testers, ginkgo }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-fxP4+YqhYPeGVpW6VkSm3+FGnmgbKx77anSYUv41PSE=";
13 vendorHash = "sha256-XtO7HiaE/xCT3tjVZzzMcO9y8Yk8Wyy1S3S1qioMaQU=";
15 # integration tests expect more file changes
16 # types tests are missing CodeLocation
17 excludedPackages = [ "integration" "types" ];
19 __darwinAllowLocalNetworking = true;
21 passthru.tests.version = testers.testVersion {
23 command = "ginkgo version";
27 homepage = "https://onsi.github.io/ginkgo/";
28 changelog = "https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md";
29 description = "A Modern Testing Framework for Go";
30 mainProgram = "ginkgo";
32 Ginkgo is a testing framework for Go designed to help you write expressive
33 tests. It is best paired with the Gomega matcher library. When combined,
34 Ginkgo and Gomega provide a rich and expressive DSL
35 (Domain-specific Language) for writing tests.
37 Ginkgo is sometimes described as a "Behavior Driven Development" (BDD)
38 framework. In reality, Ginkgo is a general purpose testing framework in
39 active use across a wide variety of testing contexts: unit tests,
40 integration tests, acceptance test, performance tests, etc.
42 license = licenses.mit;
43 maintainers = with maintainers; [ saschagrunert jk ];