In order to test the provider, you can simply run make test
.
$ make test
You can run the complete suite of <REPLACE_ME> acceptance tests by doing the following:
$ make testacc TEST="./<REPLACE_ME>/" 2>&1 | tee test.log
To run a single acceptance test in isolation replace the last line above with:
$ make testacc TEST="./<REPLACE_ME>/" TESTARGS='-run=NAME_OF_TEST'
A set of tests can be selected by passing TESTARGS
a substring. For example, to run all <REPLACE_ME> tests:
$ make testacc TEST="./<REPLACE_ME>/" TESTARGS='-run=NAME_OF_TEST'
The following parameters are available for running the test. The absence of some of the non-required parameters will cause certain tests to be skipped.
- TF_ACC (
integer
) Required - must be set to1
.
For example:
export TF_ACC=1
$ make testacc TEST="./NAME_OF_TEST/" 2>&1 | tee test.log