42 lines
479 B
Markdown
42 lines
479 B
Markdown
# Test
|
|
|
|
Dragonfly includes unit tests and E2E tests.
|
|
|
|
## Unit tests
|
|
|
|
Unit tests is in the project directory.
|
|
|
|
### Running unit tests
|
|
|
|
```bash
|
|
make test
|
|
```
|
|
|
|
### Running uint tests with coverage reports
|
|
|
|
```bash
|
|
make test-coverage
|
|
```
|
|
|
|
## E2E tests
|
|
|
|
E2E tests is in `test/e2e` path.
|
|
|
|
### Running E2E tests
|
|
|
|
```bash
|
|
make e2e-test
|
|
```
|
|
|
|
### Running E2E tests with coverage reports
|
|
|
|
```bash
|
|
make e2e-test-coverage
|
|
```
|
|
|
|
### Clean E2E tests environment
|
|
|
|
```bash
|
|
make clean-e2e-test
|
|
```
|