1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

update doc

This commit is contained in:
deadc0de6
2019-03-28 16:04:01 +01:00
parent acf40d6ec2
commit 2102879616

View File

@@ -36,13 +36,22 @@ Dotdrop is tested with the use of the [tests.sh](/tests.sh) script.
* run the unittest available in [tests directory](/tests)
* run the bash script tests in [tests-ng directory](tests-ng)
## How to implement unittest
## testing with unittest
**TODO**
All unittests are available in [tests directory](/tests)
and use [python unittest](https://docs.python.org/3/library/unittest.html).
## How to implement bash script tests
The file [helpers.py](/tests/helpers.py) provides different helper methods
for the tests.
**TODO**
## testing with bash scripts
The bash scripts are available in [tests-ng directory](tests-ng).
These test entire workflows by simulating the use of dotdrop from end to end
for different use-cases (usually described in their filename).
Each script starts with the same boiler plate code that you can paste at the
start of your new test (see the head of the file down to `# this is the test`).
# Documentation