Skip to content

Commit 9e35265

Browse files
committed
Update docs for testing
1 parent 77d64c0 commit 9e35265

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/Testing.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Testing in Unicorn
2+
3+
Unicorn focus on the testing to reduce bugs and ensure the expected behaviors. The `tests/` directory contains a few subdirectories for testing purposes.
4+
5+
- `unit/`: C unit tests since Unicorn 2.
6+
- `regress/`: The regression tests written in Python and C, imported from Unicorn 1.
7+
- `rust-tests/`: The tests written in rust.
8+
- `fuzz/`: The fuzz drivers for OSS-Fuzz.
9+
- `benchmarks/`: The benchmark suite imported from Unicorn 1.
10+
11+
## Contribution Guide
12+
13+
Generally, it is ideal to add new tests whenever a PR is made. `unit/` should be the first place for the new tests to go.

tests/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Testing
2+
3+
See [this](../docs/Testing.md)

0 commit comments

Comments
 (0)