platformtest: dedicated pool per test, Makefile target, maintainer notice
fixes #216 fixes #211
This commit is contained in:
@@ -9,14 +9,14 @@ import (
|
||||
// Idea taken from
|
||||
// https://github.com/openSUSE/umoci/blob/v0.2.1/cmd/umoci/main_test.go
|
||||
//
|
||||
// How to generate coverage:
|
||||
// go test -c -covermode=atomic -cover -coverpkg github.com/zrepl/zrepl/...
|
||||
// sudo ../logmockzfs/logzfsenv /tmp/zrepl_platform_test.log /usr/bin/zfs \
|
||||
// ./harness.test -test.coverprofile=/tmp/harness.out \
|
||||
// -test.v __DEVEL--i-heard-you-like-tests \
|
||||
// -root rpool/zreplplayground
|
||||
// go tool cover -html=/tmp/harness.out -o /tmp/harness.html
|
||||
//
|
||||
/* How to generate coverage:
|
||||
go test -c -covermode=atomic -cover -coverpkg github.com/zrepl/zrepl/...
|
||||
sudo ../logmockzfs/logzfsenv /tmp/zrepl_platform_test.log /usr/bin/zfs \
|
||||
./harness.test -test.coverprofile=/tmp/harness.out \
|
||||
-test.v __DEVEL--i-heard-you-like-tests \
|
||||
-imagepath /tmp/testpool.img -poolname zreplplatformtest
|
||||
go tool cover -html=/tmp/harness.out -o /tmp/harness.html
|
||||
*/
|
||||
// Merge with existing coverage reports using gocovmerge:
|
||||
// https://github.com/wadey/gocovmerge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user