|
|
|
@ -30,20 +30,20 @@ For individual accounts, <reponame> is your github account name. |
|
|
|
## To run all the tests on a single OS |
|
|
|
|
|
|
|
1. Start `pebble` and `challtestsrv` using ```docker-compose up -d --build``` |
|
|
|
2. Run the test suite ```run-test.sh [<os>]``` |
|
|
|
3. eg. `run-test.sh ubuntu16` |
|
|
|
2. Run the test suite ```test/run-test.sh [<os>]``` |
|
|
|
3. eg. `test/run-test.sh ubuntu16` |
|
|
|
|
|
|
|
## To run a single bats test on a single OS |
|
|
|
|
|
|
|
1. Start `pebble` and `challtestsrv` using ```docker-compose up -d --build``` |
|
|
|
2. ```run-test.sh <os> bats <bats test script>``` |
|
|
|
3. e.g. `run-test.sh ubuntu bats /getssl/test/1-simple-http01.bats` |
|
|
|
2. ```test/run-test.sh <os> bats <bats test script>``` |
|
|
|
3. e.g. `test/run-test.sh ubuntu bats /getssl/test/1-simple-http01.bats` |
|
|
|
|
|
|
|
## To debug a test |
|
|
|
|
|
|
|
1. Start `pebble` and `challtestsrv` using ```docker-compose up -d --build``` |
|
|
|
2. ```run-test.sh <os> /getssl/test/debug-test.sh <getssl config file>``` |
|
|
|
3. e.g. `run-test.sh ubuntu /getssl/test/debug-test.sh -d /getssl/test/test-config/getssl-http01-cfg` |
|
|
|
3. e.g. `test/run-test.sh ubuntu /getssl/test/debug-test.sh -d /getssl/test/test-config/getssl-http01-cfg` |
|
|
|
|
|
|
|
## TODO |
|
|
|
|
|
|
|
|