forked from toolshed/docs.coopcloud.tech
		
	docs: more getting started help
This commit is contained in:
		| @ -50,7 +50,7 @@ Then you can run the integration test suite with the following. | ||||
| ``` | ||||
| export ABRA_TEST_DOMAIN="test.example.com" | ||||
| export ABRA_DIR="$HOME/.abra_test" | ||||
| bats -Tp tests/integration | ||||
| bats -Tp tests/integration # DO NOT run this just yet, read below... | ||||
| ``` | ||||
|  | ||||
| `ABRA_TEST_DOMAIN` should also have a DNS A record for `*.test.example.com` | ||||
| @ -59,6 +59,13 @@ It's advised that you re-use the same server and therefore the same Traefik | ||||
| deployment for running your integration tests. The test suite does not deploy | ||||
| Traefik for you. Then you'll have more stable results. | ||||
|  | ||||
| You probably don't want to run the entire test suite though, it takes a while. | ||||
| Try the following for starters. | ||||
|  | ||||
| ``` | ||||
| bats -Tp tests/integration/autocomplete.bats | ||||
| ``` | ||||
|  | ||||
| ### Tagging tests | ||||
|  | ||||
| When a test actually deploys something to a server, we tag it with the following: | ||||
| @ -78,6 +85,12 @@ for more. | ||||
|  | ||||
| ### Filter tests | ||||
|  | ||||
| You can run a specific file. | ||||
|  | ||||
| ``` | ||||
| bats -Tp tests/integration/autocomplete.bats | ||||
| ``` | ||||
|  | ||||
| You can filter on test names to run specific kinds of tests. | ||||
|  | ||||
| ``` | ||||
|  | ||||
		Reference in New Issue
	
	Block a user