Skip to main content
Version: Next

Running Tests

This document describes how to run unit tests and E2E tests.

Prerequisites

NameVersionDocument
Golang1.16.xgo.dev
Rust1.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 Dragonfly2/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