mirror of https://github.com/caronc/apprise
Update testing instructions
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>pull/1371/head
parent
91faed0c6d
commit
a65ed2bd05
|
@ -22,13 +22,13 @@ The tools are as follows:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Run all tests:
|
# Run all tests:
|
||||||
./bin/tests.sh
|
./bin/test.sh
|
||||||
|
|
||||||
# Run just the tests associated with the rest framework:
|
# Run just the tests associated with the rest framework:
|
||||||
./bin/tests.sh rest
|
./bin/test.sh rest
|
||||||
|
|
||||||
# Run just the Apprise config related unit tests
|
# Run just the Apprise config related unit tests
|
||||||
./bin/tests.sh config
|
./bin/test.sh config
|
||||||
```
|
```
|
||||||
|
|
||||||
- :gear: `checkdone.sh`: This script just runs a lint check against the code to make sure there are no PEP8 issues and additionally runs a full test coverage report. This is what will happen once you check in your code. Nothing can be merged unless these tests pass with 100% coverage. So it's useful to have this handy to run now and then.
|
- :gear: `checkdone.sh`: This script just runs a lint check against the code to make sure there are no PEP8 issues and additionally runs a full test coverage report. This is what will happen once you check in your code. Nothing can be merged unless these tests pass with 100% coverage. So it's useful to have this handy to run now and then.
|
||||||
|
@ -50,7 +50,7 @@ export PATH="$(pwd)/bin:$PATH"
|
||||||
|
|
||||||
## RPM Testing
|
## RPM Testing
|
||||||
|
|
||||||
Apprise is also packaged for Redhat/Fedora as an RPM. To verify this processs works correctly an additional tool called `build-rpm.sh` is provided. It's best tested using the Docker environments:
|
Apprise is also packaged for Redhat/Fedora as an RPM. To verify this process works correctly an additional tool called `build-rpm.sh` is provided. It's best tested using the Docker environments:
|
||||||
```bash
|
```bash
|
||||||
# To test with el9; do the following:
|
# To test with el9; do the following:
|
||||||
docker-compose run --rm rpmbuild.el9 build-rpm.sh
|
docker-compose run --rm rpmbuild.el9 build-rpm.sh
|
||||||
|
|
Loading…
Reference in New Issue