* chore: run `go fmt ./...` This commit synchronizes `//go:build` lines with `// +build` lines. Reference: https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * refactor: move from io/ioutil to io and os packages The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| testdata | ||
| tools | ||
| README.md | ||
README.md
Test
Dragonfly includes unit tests and E2E tests.
Unit tests
Unit tests is in the project directory.
Running unit tests
make test
Runing uint tests with coverage reports
make test-coverage
E2E tests
E2E tests is in test/e2e path.
Running E2E tests
make e2e-test
Runing E2E tests with coverage reports
make e2e-test-coverage
Clean E2E tests environment
make clean-e2e-test