Running Tests
This document describes how to run unit tests and E2E tests.
Prerequisites
Name | Version | Document |
---|---|---|
Golang | 1.16.x | go.dev |
Rust | 1.6+ | rustup.rs |
Unit tests
Unit tests is in the project directory.
Running unit tests
make test
Running uint tests with coverage reports
make test-coverage
E2E tests
E2E tests is in dragonfly/test/e2e
path.
Running E2E tests
make e2e-test
Running E2E tests with coverage reports
make e2e-test-coverage
Clean E2E tests environment
make clean-e2e-test