Skip to content

Commit 780e17d

Browse files
committed
test-docs
1 parent 51f1cdf commit 780e17d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/notes/tests.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Testing BamToCov
22

3+
## Testing scenarios
4+
5+
To create minimal examples a set of scripts is provided in
6+
`scripts/benchmarking/` to generate artificial BAM files.
7+
8+
Some examples are provided in the repository (with screenshots):
9+
10+
* [Target (1 chromosome, 3 features)](https://github.com/telatin/bamtocov/tree/main/input/tiny#readme)
11+
* [3 chromosomes, 1 feature each](https://github.com/telatin/bamtocov/tree/main/input/artificial#readme)
12+
313
## Test suite
414

515
The program default test suite can be invoked by:
@@ -16,7 +26,7 @@ make testall
1626

1727
This runs both the default tests, plus a legacy Bash script
1828

19-
## Shpec tests
29+
### Shpec tests
2030

2131
The default test suite was written using the [Shpec](https://github.com/rylnd/shpec)
2232
framework, and can be individually run as:
@@ -50,7 +60,7 @@ Make test
5060
14 examples, 0 failures
5161
```
5262

53-
## Legacy test suite
63+
### Legacy test suite
5464

5565
A minimal test suite is provided in `tests/all.sh`. The output will
5666
show the passing and failing tests as well as a check on the versions

0 commit comments

Comments
 (0)