Skip to content

Commit a7cd5d9

Browse files
committed
Add a few more docs about running system tests
1 parent d7cce42 commit a7cd5d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,16 @@ Run the system tests:
517517

518518
$ rake spec:system
519519

520+
Note that these tests will fire up VirtualBox VMs, and set up shared folders for the module source code from your local working copy. This means that you need to have all of the source code for the module dependencies (see the `Modulefile` for a complete list) checked out in the same parent directory where you've checked out the source for the `puppet-postgres` module.
521+
520522
The system test suite will snapshot the VM and rollback between each test. If you want to only run the tests against an individual distro, you can do run:
521523

522524
$ rspec spec/system/distros/ubuntu_lucid_64
523525

526+
To run only a single specific test against a distro:
527+
528+
$ rspec spec/system/distros/ubuntu_lucid_64 -e "should idempotently create a user who can log in"
529+
524530
We also have some unit tests that utilize rspec-puppet for faster iteration if required:
525531

526532
$ rake spec

0 commit comments

Comments
 (0)