Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 883 Bytes

testing.rst

File metadata and controls

35 lines (21 loc) · 883 Bytes

Testing

Unit test

See building the fabric <dev-setup/build> for unit testing instructions.

See Unit test coverage reports

To see coverage for a package and all sub-packages, execute the test with the -cover switch:

go test ./... -cover

To see exactly which lines are not covered for a package, generate an html report with source code annotated by coverage:

go test -coverprofile=coverage.out
go tool cover -html=coverage.out -o coverage.html

System test

[WIP] ...coming soon

This topic is intended to contain recommended test scenarios, as well as current performance numbers against a variety of configurations.