Skip to content

Commit ba14638

Browse files
committed
Functional testing using Rake
1 parent b5ea388 commit ba14638

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -391,20 +391,15 @@ $ bundle exec rake
391391
```
392392

393393
If the unit-tests pass, verify the plugin is functionaly good by running the functional tests with bats.
394-
Before running the tests you need to export a set of variables that are used in the tests.
394+
Before running the tests you need to export a set of variables that are used in the tests. Look at the
395+
Rake file for the required variables, or run the following Rake command to check:
395396
```
396-
export CLOUDSTACK_HOST="..."
397-
export CLOUDSTACK_API_KEY="..."
398-
export CLOUDSTACK_SECRET_KEY="..."
399-
export PUBLIC_SOURCE_NAT_IP="..."
400-
export PUBLIC_SSH_PORT="..."
401-
export ZONE_NAME="..."
402-
export NETWORK_NAME="..."
403-
export SERVICE_OFFERING_NAME="..."
404-
export TEMPLATE_NAME="..."
405-
406-
cd functional-tests
407-
./run_tests.sh
397+
bundle exec rake functional_tests:check_environment
398+
```
399+
400+
Run all functional tests by executing:
401+
```
402+
bundle exec rake functional_tests:all
408403
```
409404

410405
If those pass, you're ready to start developing the plugin. You can test

0 commit comments

Comments
 (0)