Commit graph

8892 commits

Author SHA1 Message Date
Richard C Isaacson
0c33e936d4 Adding tests for the command and shell modules. 2014-02-23 14:51:26 -06:00
Michael DeHaan
7638d8ff46 Update CODING_GUIDELINES.md 2014-02-23 12:22:36 -05:00
Michael DeHaan
c7ae1ee978 Merge pull request #6130 from Azulinho/devel
replace test 'wget' package with 'hello' package
2014-02-23 09:13:30 -05:00
Azul
89cee747d9 replace test 'wget' package with 'hello' package 2014-02-23 10:46:39 +00:00
Michael DeHaan
d7dd04c295 Merge pull request #6121 from lalinsky/fix_dev_docs
Remove obsolete module development docs
2014-02-22 10:21:16 -05:00
Lukáš Lalinský
95d102f5e4 Remove obsolete module development docs 2014-02-22 15:51:59 +01:00
Michael DeHaan
c7a30df574 Merge pull request #6116 from spatten/devel
In the route53 module, documenting that TXT and SPF values must be surrounded by quotes
2014-02-21 23:14:48 -05:00
Scott Patten
dbde446358 In the route53 module, documenting that TXT and SPF requests
must be surrounded by quotes.

Otherwise you get a cryptic error message from Route 53.
2014-02-21 19:36:22 -08:00
Michael DeHaan
9686695170 Assume empty files are unencrypted. 2014-02-21 21:06:04 -05:00
jctanner
719367facb Merge pull request #6113 from jlaska/custom_nose_args
Allow custom nosetest parameters
2014-02-21 16:21:08 -05:00
James Tanner
4af1d6098b Fixes #5939 Allow for delegate hosts that are not in inventory 2014-02-21 15:54:09 -05:00
James Laska
a77ea0f942 Allow custom nosetests parameters
The NOSETESTS variable can be used to support customizing the nosetests
parameters.  This allows providing custom nose parameters such as
--with-coverage.
2014-02-21 15:37:16 -05:00
James Tanner
d29da4cba1 Add iterator tests 2014-02-21 14:26:38 -05:00
Michael DeHaan
a65d53462d Update README.md 2014-02-21 12:58:09 -05:00
Michael DeHaan
597809f5d4 Update README.md
Minor readme tweaks since I haven't edited this in a while.
2014-02-21 12:55:31 -05:00
James Tanner
65e58c21dd Add test for basic lookups 2014-02-21 11:34:06 -05:00
James Tanner
799fe2c289 Add handlers test 2014-02-21 10:28:27 -05:00
James Tanner
d07032fa5a Add async test role 2014-02-21 10:00:01 -05:00
Michael DeHaan
9bb2027397 Merge pull request #6105 from tonk/with_vault
Added ansible-vault to the installer
2014-02-21 08:24:13 -05:00
Michael DeHaan
f4a5d48ba8 Merge pull request #6103 from bryfry/patch-1
fix json typo in documentation
2014-02-21 08:23:34 -05:00
Ton Kersten
ad687fcefd Added ansible-vault to the installer 2014-02-21 09:18:49 +01:00
bryfry
afd9dd7fed fix json typo 2014-02-20 23:02:07 -05:00
Michael DeHaan
92feed3851 Update README.md 2014-02-20 19:28:06 -05:00
Michael DeHaan
f0dd040377 reconnect unit tests to 'make tests' 2014-02-20 19:13:27 -05:00
Michael DeHaan
2177b773c8 Rename tests to test, use old directory name. 2014-02-20 19:11:15 -05:00
Michael DeHaan
de600f0040 Move integration tests into tests_new. 2014-02-20 19:10:38 -05:00
James Cammarata
876da62f82 Add data test for ping 2014-02-20 18:00:19 -05:00
James Cammarata
b02ef611e3 Adding a new test for the ping module 2014-02-20 17:41:23 -05:00
Michael DeHaan
379fe02104 Move inventory tests into subdir, prune non-integration tests. 2014-02-20 17:16:58 -05:00
Michael DeHaan
fe7d3773ae Various tests using datafiles are being moved into the integration test framework (tests_new right now).
The unit test infrastructure will remain for things that are mocked out and testable with out filesystem
side effects, and a few cases of things that might not be quite so much (like inventory) that can still
benefit from heavy access to the API.

See the 'tests_new/integration' directory, this will soon fold into tests_new.
2014-02-20 17:16:58 -05:00
Michael DeHaan
0581746a80 Removing tests from units that are now implemented in the new upgraded test system. Once
we're a little further along the units directory will be reserved to pure-API tests.
2014-02-20 17:16:58 -05:00
James Tanner
03d3ba723b Remove -e for echo in test_facts_d 2014-02-20 17:09:46 -05:00
Richard C Isaacson
0719be852f Update in response to ubuntu issues. 2014-02-20 16:56:40 -05:00
James Cammarata
3baf2dc095 Adding new test for conditional behavior 2014-02-20 16:43:33 -05:00
James Cammarata
87f2e362b3 Adding new test for always_run option in check mode 2014-02-20 16:11:17 -05:00
James Tanner
e4970c0933 Test for facts.d 2014-02-20 16:05:50 -05:00
Richard C Isaacson
e12b2aba96 Fix selinux in the new tests for the file module.
We had some incorrect logic for when selinux is installed and disabled.
2014-02-20 15:59:25 -05:00
Richard C Isaacson
b8ea1cfa69 Fixed when running on a system with selinux which is disabled. 2014-02-20 15:52:57 -05:00
Michael DeHaan
b2e5903853 Add some missing files for filters and ignore_errors tests 2014-02-20 15:34:02 -05:00
James Cammarata
fa1ab231c9 Fixing bug in which playbook vars were not merged properly
This occurred when a hash would be passed in via extra args and the
hash variable behavior was set to 'merge', which resulted in the
variable from extra args replacing the playbook variable.
2014-02-20 15:25:52 -05:00
James Cammarata
d158ec382c Adding new test for hash behavior (merge vs. replace) 2014-02-20 15:25:52 -05:00
Michael DeHaan
bc65956798 Add tests that leverage most of our custom filters. A few more to add. 2014-02-20 15:24:03 -05:00
James Tanner
8336cd7fa6 Check for no change in test_yum 2014-02-20 15:07:54 -05:00
James Tanner
f51e16014f apt re-run verification 2014-02-20 15:01:23 -05:00
James Tanner
2b3856f1b6 Add apt test role 2014-02-20 14:56:01 -05:00
Michael DeHaan
50e5d81777 Remove the check in the 'hg' integration tests for the 'heads' file, as that was a bit of an idiom
copied over from the svn module.
2014-02-20 14:38:00 -05:00
Richard C Isaacson
ea21e5b5dd Cleanup of uid bits. 2014-02-20 14:32:27 -05:00
Richard C Isaacson
10e116ea78 Cleaning up my asserts 2014-02-20 14:25:42 -05:00
Richard C Isaacson
fc648a65ef Change the uids that we use so that there is a lesser change of collision and check the uid rather than the owner. 2014-02-20 14:08:18 -05:00
Richard C Isaacson
92cb8dd34e Unarchive tests. 2014-02-20 14:00:26 -05:00