You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -517,9 +517,15 @@ Run the system tests:
517
517
518
518
$ rake spec:system
519
519
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
+
520
522
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:
521
523
522
-
$ rspec spec/distros/ubuntu_lucid_64
524
+
$ rspec spec/system/distros/ubuntu_lucid_64
525
+
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"
523
529
524
530
We also have some unit tests that utilize rspec-puppet for faster iteration if required:
0 commit comments