Updated Development (markdown)
@ -68,3 +68,14 @@ Since running the whole suite takes long, you can run one test like this:
|
|||||||
test_verify (test_verify.TestZfsEncryption) ... Preparing zfs filesystems...
|
test_verify (test_verify.TestZfsEncryption) ... Preparing zfs filesystems...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Automaticly run test on save
|
||||||
|
|
||||||
|
I use `entr` for this:
|
||||||
|
|
||||||
|
```console
|
||||||
|
root@ws1:/home/psy/zfs_autobackup# find zfs_autobackup/| entr -r ./tests/run_test test_verify.py
|
||||||
|
```
|
||||||
|
|
||||||
|
This will reexecute the specified test each time you save the files in your editor.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user