ginkgo
A Modern Testing Framework for Go
File Explorer
Download Latest Version (.zip)- marketplace.json
- devcontainer.json
- first-run-notice.ansi
- ginkgotest
- install.sh
- serve-docs
- codeql-analysis.yml
- test.yml
- dependabot.yml
- FUNDING.yml
- deprecated.go
- default.html
- layout.css
- primer-minimal.css
- ginkgo.png
- github.png
- go.png
- sponsor.png
- docs.js
- .gitignore
- _config.yml
- docs_suite_test.go
- Gemfile
- Gemfile.lock
- index.md
- MIGRATING_TO_V2.md
- core_dsl.go
- decorators_dsl.go
- reporting_dsl.go
- table_dsl.go
- dsl_suite_test.go
- globals.go
- globals_test.go
- deprecated.go
- colorable_others.go
- colorable_windows.go
- formatter.go
- formatter_suite_test.go
- formatter_test.go
- automaxprocs.go
- cgroup.go
- cgroups.go
- cgroups2.go
- cpu_quota_linux.go
- cpu_quota_unsupported.go
- errors.go
- mountpoint.go
- README.md
- runtime.go
- subsys.go
- build_command.go
- abort.go
- abort_test.go
- command.go
- command_suite_test.go
- command_test.go
- program.go
- program_test.go
- boostrap_templates.go
- bootstrap_command.go
- generate_command.go
- generate_templates.go
- generators_common.go
- cli_internal_suite_test.go
- compile.go
- gocovmerge.go
- profiles_and_reports.go
- run.go
- test_suite.go
- testsuite_test.go
- utils.go
- utils_test.go
- verify_version.go
- labels_command.go
- alias_test.go
- alias_test.go.csv
- alias_test.go.json
- create_result.sh
- csv_proper_escaping_test.go
- csv_proper_escaping_test.go.csv
- csv_proper_escaping_test.go.json
- describe_table_subtree_test.go
- describe_table_subtree_test.go.csv
- describe_table_subtree_test.go.json
- dsl_core_test.go
- dsl_core_test.go.csv
- dsl_core_test.go.json
- focused_test.go
- focused_test.go.csv
- focused_test.go.json
- labels_test.go
- labels_test.go.csv
- labels_test.go.json
- mixed_test.go
- mixed_test.go.csv
- mixed_test.go.json
- nestedfocused_test.go
- nestedfocused_test.go.csv
- nestedfocused_test.go.json
- nodot_test.go
- nodot_test.go.csv
- nodot_test.go.json
- normal_test.go
- normal_test.go.csv
- normal_test.go.json
- pending_decorator_test.go
- pending_decorator_test.go.csv
- pending_decorator_test.go.json
- pending_test.go
- pending_test.go.csv
- pending_test.go.json
- position_test.go
- position_test.go.csv
- position_test.go.json
- suite_test.go
- suite_test.go.csv
- suite_test.go.json
- ginkgo.go
- import.go
- outline.go
- outline_command.go
- outline_suite_test.go
- outline_test.go
- large_suite_suite_test.go
- pkg1_suite_test.go
- pkg2_suite_test.go
- pkg3_suite_test.go
- pkg4_suite_test.go
- go.mod
- go.sum
- performance.go
- performance_suite_test.go
- 096fe2f06efcf59513adb6cb0275d32a.gmeasure-cache
- 1baac032c37c6eddc8381c02f73bab9c.gmeasure-cache
- 2daaa9348ce35e03f3fb34ec83ffc542.gmeasure-cache
- 34fa32127a8597d465872129ed999b27.gmeasure-cache
- 585dde06f8799aa0686577e4c76eee50.gmeasure-cache
- 5dde0a74da03182e70d258dbc7f9da5e.gmeasure-cache
- 63f93d6849139270a9cf6c7562b5c5c2.gmeasure-cache
- 7e079ed53f27697e0ae7f18ed2eef571.gmeasure-cache
- 952f6c671d14a219922ff81d601950dc.gmeasure-cache
- cb799de836ba52ec5dbc8328c8cfb89a.gmeasure-cache
- d913553546dde110d20fd36aa954b145.gmeasure-cache
- e8c3ef1eebd492c875763c75066b201d.gmeasure-cache
- f63d60f305dbd4ac27febbc09ca9d000.gmeasure-cache
- f871828d82f74ed614c36d8f8d27f7f5.gmeasure-cache
- ff4e55f973b442272532f4ac2daa0b13.gmeasure-cache
- 2daaa9348ce35e03f3fb34ec83ffc542.gmeasure-cache
- cb799de836ba52ec5dbc8328c8cfb89a.gmeasure-cache
- d913553546dde110d20fd36aa954b145.gmeasure-cache
- 1baac032c37c6eddc8381c02f73bab9c.gmeasure-cache
- 23a884dc38ea0cf973e24d00d94dd6ed.gmeasure-cache
- 55354cfa01f77f2c0d502c798e2b8262.gmeasure-cache
- 5eb5d96af3c34f61a070c450dddbf894.gmeasure-cache
- 63f93d6849139270a9cf6c7562b5c5c2.gmeasure-cache
- 952f6c671d14a219922ff81d601950dc.gmeasure-cache
- cb799de836ba52ec5dbc8328c8cfb89a.gmeasure-cache
- e8c3ef1eebd492c875763c75066b201d.gmeasure-cache
- 29caa3726740f30e27035121724c5be5.gmeasure-cache
- 483027456d601caec33292dbf280ca13.gmeasure-cache
- 54b26463f7c006bbf018993ad3bb66fc.gmeasure-cache
- 6f1839af2f330e23013bdb24a846760c.gmeasure-cache
- e3c9c7bf7ee9b54d714975dcc0babed2.gmeasure-cache
- e6de2fca259bb2567b057a5ec1929134.gmeasure-cache
- f9eea3525ae1eb0c1aea29bb32267883.gmeasure-cache
- compiling_and_running_test.go
- fetching_dependencies_test.go
- large_suite_test.go
- performance_suite_test.go
- run_command.go
- unfocus_command.go
- delta.go
- delta_tracker.go
- dependencies.go
- package_hash.go
- package_hashes.go
- suite.go
- watch_command.go
- automaxprocs.go
- ginkgo_cli_suite_test.go
- ginkgo_cli_test.go
- main.go
- abort_fixture_suite_test.go
- after_run_hook.go
- after_run_hook_suite_test.go
- after_run_hook_test.go
- build_reporting_1_suite_test.go
- build_reporting_1_test.go
- build_reporting_2_suite_test.go
- build_reporting_2_test.go
- external_coverage.go
- coverage.go
- coverage_fixture_suite_test.go
- coverage_fixture_test.go
- coverage.go
- coverage_fixture_suite_test.go
- coverage_fixture_test.go
- third_package_suite_test.go
- config_override_fixture_suite_test.go
- config_override_fixture_suite_test.go
- additional_spec_suite_test.go
- external_coverage.go
- coverage.go
- coverage_fixture_suite_test.go
- coverage_fixture_test.go
- flaky_repeated_fixture_suite_test.go
- invalid_decorations_flakeattempts_mustpassrepeatedly_suite_test.go
- invalid_decorations_focused_pending_suite_test.go
- never_see_this_file_test.go
- offset_focus_pending_fixture_suite_test.go
- deprecated_features_fixture_suite_test.go
- does_not_compile_suite_test.go
- does_not_compile_test.go
- eventually_failing_suite_test.go
- eventually_failing_test.go
- exiting_synchronized_setup_suite_test.go
- fail_fixture_ginkgo_t_test.go
- fail_fixture_ginkgo_tb_test.go
- fail_fixture_suite_test.go
- fail_fixture_test.go
- fail_then_hang_fixture_suite_test.go
- failing_ginkgo_tests.go
- failing_ginkgo_tests_suite_test.go
- failing_ginkgo_tests_test.go
- filter_suite_test.go
- nugget_a_test.go
- nugget_b_test.go
- sprocket_a_test.go
- sprocket_b_test.go
- sprocket_c_test.go
- widget_a_test.go
- widget_b_test.go
- flags.go
- flags_suite_test.go
- flags_test.go
- focused_fixture_suite_test.go
- focused_fixture_test.go
- focused_fixture_suite_test.go
- focused_fixture_test.go
- README.md
- bar.go
- foo.go
- vendored.go
- focused_fixture_suite_test.go
- focused_fixture_test.go
- hanging_suite_test.go
- hanging_test.go
- helpergo_fixture_suite_test.go
- helpergo_fixture_test.go
- interceptor_fixture_suite_test.go
- main.go
- interceptor_fixture_suite_test.go
- nolabels_suite_test.go
- nolabels_test.go
- onepkg.go
- onepkg_suite_test.go
- onepkg_test.go
- labels.go
- labels_fixture_suite_test.go
- labels_fixture_test.go
- large_fixture_suite_test.go
- malformed_by_fixture_suite_test.go
- malformed_fixture_suite_test.go
- malformed_fixture_test.go
- more_ginkgo_tests.go
- more_ginkgo_tests_suite_test.go
- more_ginkgo_tests_test.go
- doc.go
- no_tagged_tests_fixture_suite_test.go
- no_test_fn.go
- no_test_fn_test.go
- no_tests.go
- file_a_test.go
- file_b_test.go
- nondeterministic_fixture_suite_test.go
- ordered_fixture_suite_test.go
- passing_ginkgo_tests.go
- passing_ginkgo_tests_suite_test.go
- passing_ginkgo_tests_test.go
- pause_resume_interception_fixture_suite_test.go
- preview_fixture_suite_test.go
- block_contest.go
- block_contest_suite_test.go
- lock_contest.go
- lock_contest_suite_test.go
- slow_memory_hog.go
- slow_memory_hog_suite_test.go
- progress_report_fixture_suite_test.go
- progress_report_test.go
- report_entries_fixture_suite_test.go
- malformed_sub_package_suite_test.go
- a_test.go
- reporting_sub_package_suite_test.go
- reporting_sub_package_test.go
- reporting_fixture_suite_test.go
- reporting_fixture_test.go
- rerun_specs_suite_test.go
- seed_fixture_suite_test.go
- spechierarchy_suite_test.go
- semver_fixture_suite_test.go
- semver_test.go
- serial_fixture_suite_test.go
- skip_fixture_suite_test.go
- skip_fixture_test.go
- sleep_on_failure_fixture_suite_test.go
- sleep_on_failure_fixture_test.go
- symbol_fixture_suite_test.go
- synchronized_setup_tests_suite_test.go
- ignored_test.go
- tags_tests_suite_test.go
- tags_tests_test.go
- timeline_fixture_suite_test.go
- timeout_A_suite_test.go
- timeout_B_suite_test.go
- timeout_C_suite_test.go
- timeout_D_suite_test.go
- go.mod
- go.sum
- version_mismatch_fixture_suite_test.go
- A.go
- A_suite_test.go
- A_test.go
- B.go
- B_suite_test.go
- B_test.go
- C.go
- C.json
- C_suite_test.go
- C_test.go
- D.go
- D_suite_test.go
- D_test.go
- xunit_tests.go
- xunit_tests_test.go
- abort_test.go
- decorations_test.go
- deprecations_test.go
- fail_test.go
- filter_test.go
- flags_test.go
- helpergofail_test.go
- integration.go
- integration_suite_test.go
- interrupt_test.go
- output_interceptor_test.go
- precompiled_test.go
- preview_test.go
- profiling_go1.21_test.go
- profiling_go1.22_test.go
- profiling_test.go
- progress_test.go
- repeat_test.go
- report_entries_test.go
- reporting_test.go
- run_test.go
- skip_test.go
- sleep_on_failure_test.go
- subcommand_test.go
- suite_command_test.go
- suite_setup_test.go
- tags_test.go
- timeline_test.go
- verbose_and_succinct_test.go
- watch_test.go
- init.go
- abort_test.go
- around_node_test.go
- cleanup_test.go
- config_dry_run_test.go
- config_fail_fast_test.go
- config_flake_attempts_test.go
- config_must_pass_repeatedly_test.go
- config_sleep_on_failure_test.go
- current_spec_report_test.go
- decorations_test.go
- fail_test.go
- focus_test.go
- internal_integration_suite_test.go
- interrupt_and_timeout_test.go
- labels_test.go
- node_spec_events_test.go
- ordered_test.go
- parallel_test.go
- progress_report_test.go
- report_each_test.go
- report_entries_test.go
- report_suite_test.go
- run_test.go
- serial_test.go
- shuffle_test.go
- skip_test.go
- spec_priority_test.go
- synchronized_suite_nodes_test.go
- table_test.go
- timeline_test.go
- interrupt_handler.go
- interrupt_handler_test.go
- interrupthandler_suite_test.go
- sigquit_swallower_unix.go
- sigquit_swallower_windows.go
- client_server.go
- client_server_test.go
- http_client.go
- http_server.go
- parallel_support_suite_test.go
- rpc_client.go
- rpc_server.go
- server_handler.go
- gojson.go
- gojson_event_writer.go
- gojson_reporter.go
- docs.go
- fake_interrupt_handler.go
- fake_output_interceptor.go
- fake_reporter.go
- multiline_helpers.go
- run_tracker.go
- set_up_server.go
- status_code_poller.go
- testing_t_proxy.go
- testingtproxy_suite_test.go
- testingtproxy_test.go
- around_node.go
- counter.go
- counter_test.go
- failer.go
- failer_test.go
- focus.go
- focus_test.go
- group.go
- internal_suite_test.go
- node.go
- node_test.go
- ordering.go
- ordering_test.go
- output_interceptor.go
- output_interceptor_test.go
- output_interceptor_unix.go
- output_interceptor_wasm.go
- output_interceptor_win.go
- progress_report.go
- progress_report_bsd.go
- progress_report_test.go
- progress_report_unix.go
- progress_report_wasm.go
- progress_report_win.go
- progress_reporter_manager.go
- progress_reporter_manager_test.go
- report_entry.go
- report_entry_test.go
- spec.go
- spec_context.go
- spec_context_test.go
- spec_test.go
- suite.go
- suite_test.go
- tree.go
- tree_test.go
- writer.go
- writer_test.go
- plugin.json
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- README.md
- gojson_report_test.snap
- junit_report_test.snap
- teamcity_report_test.snap
- default_reporter.go
- default_reporter_test.go
- deprecated_reporter.go
- deprecated_reporter_test.go
- gojson_report.go
- gojson_report_test.go
- json_report.go
- json_report_test.go
- junit_report.go
- junit_report_test.go
- reporter.go
- reporters_suite_test.go
- teamcity_report.go
- teamcity_report_test.go
- around_node.go
- around_node_test.go
- code_location.go
- code_location_test.go
- config.go
- config_test.go
- deprecated_support_test.go
- deprecated_types.go
- deprecated_types_test.go
- deprecation_support.go
- enum_support.go
- errors.go
- errors_test.go
- file_filter.go
- file_filters_test.go
- flags.go
- flags_test.go
- label_filter.go
- label_filter_test.go
- report_entry.go
- semver_filter.go
- semver_filter_test.go
- types.go
- types_suite_test.go
- types_test.go
- version.go
- .gitignore
- CHANGELOG.md
- CONTRIBUTING.md
- core_dsl.go
- decorator_dsl.go
- deprecated_dsl.go
- ginkgo_cli_dependencies.go
- ginkgo_t_dsl.go
- go.mod
- go.sum
- helpergo_dsl.go
- LICENSE
- Makefile
- README.md
- RELEASING.md
- reporting_dsl.go
- table_dsl.go
# Installation Guide
1. Get the code
git clone https://github.com/onsi/ginkgo
Downloads the entire project code from GitHub to your computer.
cd ginkgo
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
cd ginkgo/performance/_fixtures/performance_fixture
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
