Pedro Algarvio
57dd2da63e
Run the fileserver tests
2014-06-05 10:10:56 +01:00
Mike Place
cf25592c53
Working salt-ssh test runner
...
This rounds out initial (alpha) support for a salt-ssh test runner.
At present, one must manually specify the --ssh flag to ensure that
the ssh deamons are spun up properly.
Conflicts:
tests/integration/__init__.py
tests/integration/files/conf/_ssh/sshd_config
tests/integration/files/conf/sshd_config
tests/integration/files/ext-conf/sshd_config
2014-05-23 14:11:14 -06:00
Pedro Algarvio
a1aee355e5
Include outputter tests in tests suite.
2014-05-12 19:10:11 +01:00
Pedro Algarvio
9630d43d05
Add option to run SSH tests.
...
Refs saltstack/salt-testing#16 and #12661
2014-05-10 14:12:04 +01:00
Pedro Algarvio
8561be1fee
For output consistency.
2014-02-09 00:21:18 +00:00
Pedro Algarvio
69d0f907f9
Make use of the print()
function.
2014-02-03 11:07:43 +00:00
Pedro Algarvio
59573953b5
Also prepare runtests.py
2014-01-14 15:25:07 +00:00
Pedro Algarvio
0d81bb6416
The SaltTesting parser no longer supports HTML reports.
2013-12-16 00:14:58 +00:00
Pedro Algarvio
de742df8f7
Minor cosmetic printing changes
2013-12-11 14:23:11 +00:00
Pedro Algarvio
ac8963b286
Ignore the relative import warning.
2013-11-27 12:54:13 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Pedro Algarvio
dfab7aab73
Adapt the runtests parser to support running the tests suite under a Docker container.
2013-11-08 20:20:03 +00:00
Pedro Algarvio
f96c01738e
Provide the loader integration tests in it's own package.
2013-10-26 18:57:00 +01:00
Pedro Algarvio
725acec48b
track_processes
is no longer a valid `kwarg'.
2013-09-10 17:49:38 +01:00
Pedro Algarvio
8100b41c7e
Fixed splitting named unittests from named integration tests.
...
This commit got lost somewhere. I could swear I committed this fix previously...
2013-08-21 19:23:16 +01:00
Pedro Algarvio
11060c85be
Allow running a group of tests while still providing a test case name from another group.
2013-08-12 11:46:58 +01:00
Pedro Algarvio
305a5c2223
The parser destructive tests flag is now provided by salt-testing
2013-08-06 22:03:42 +01:00
Pedro Algarvio
94575cbb63
Finish what was started on f78fca32
2013-07-05 00:53:41 +01:00
Pedro Algarvio
f78fca3256
We don't need to pass -u
when we're only passing unittests to -n
.
2013-07-04 17:17:48 +01:00
Pedro Algarvio
007545eb70
Fix NameError
2013-06-28 00:12:58 +01:00
Pedro Algarvio
8cd0316b62
Heh! Salt! Not Salt Cloud!
2013-06-28 00:12:58 +01:00
Pedro Algarvio
a21b6e10a5
We don't want the tests in the coverage report.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
819e523c2b
Use the defined SALT_ROOT
as the source parameter for the coverage call.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
7990165e26
Remove debug logic to test coverage.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
3033e0002b
Let's make use of salt-testing code coverage testing option parser.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Pedro Algarvio
d4fd1baa2f
Adapted the tests suite to work with salt-testing
2013-06-28 00:12:56 +01:00
ZHANG Cheng
c86564abb1
Fix typo
2013-06-22 23:31:37 +08:00
Thomas S Hatch
86db665d2d
kill the print
2013-06-18 15:45:50 -06:00
Thomas S Hatch
535d0a00e3
Finish #5585
2013-06-17 13:05:08 -06:00
ZHANG Cheng
c8aee0451d
Make it possible to run a single unit test
2013-06-17 23:38:13 +08:00
Chris Rebert
a6a356a3e4
runtests.py: use except-as syntax
2013-06-03 11:45:44 -06:00
Pedro Algarvio
8938b93b3f
Run our own API based coverage
2013-06-02 09:07:39 +01:00
Pedro Algarvio
a61273bd71
Finally working. Cleaning up.
2013-05-31 12:48:53 +01:00
Pedro Algarvio
662f5b23ca
Output the coverage pickled data.
2013-05-31 12:48:53 +01:00
Pedro Algarvio
63859e2915
Even more info from travis env.
2013-05-31 12:48:53 +01:00
Pedro Algarvio
51460af985
Fix SyntaxError.
2013-05-31 12:48:53 +01:00
Pedro Algarvio
5ec8147fbb
Add the .coveragerc
file and some debugging output to see if the coverage file is generated.
2013-05-31 12:48:52 +01:00
Pedro Algarvio
852e38658b
Let's know where(CWD) is the suite running from.
2013-05-31 12:48:52 +01:00
Thomas S Hatch
25fd45a688
Make --name a little more clear
2013-05-26 00:08:52 -06:00
Chris Rebert
c487d86fff
tests: standardize to modern 'except FooError as err:' syntax
2013-05-03 19:55:50 -07:00
Chris Rebert
9ed364980d
is not 0 => != 0
2013-04-30 10:32:21 -07:00
Pedro Algarvio
a43e0132f1
Improve logging logic in salt/template.py
. Allow the test suite to set more logging levels.
2013-04-27 09:56:24 +01:00
Pedro Algarvio
7e0b13a493
Include the filesystem cleanup options group into the parser.
2013-04-19 22:36:02 +01:00
Pedro Algarvio
8f851e0a9a
Renamed environment variable and create directory if it does not exit.
...
New environment variable name is `SALT_XML_TEST_REPORTS_DIR`.
2013-02-02 18:27:59 +00:00
Pedro Algarvio
6efbc51aae
Remove bad xml reports option.
...
* `xmlrunner` proved to be a way better choice than `junitxml` and it's even parsable by Bamboo. The output of `junitxml` is not.
* The output directory can be tweaked with the environment variable `SALT_XML_TEST_REPORTS`.
2013-02-02 18:22:31 +00:00
Pedro Algarvio
b994f3e697
Re-use the same file for JUnit xml text results instead of overriding.
2013-02-01 18:55:34 +00:00
Pedro Algarvio
17c6151cf8
Add --no-colours
to runtests.py
. Refs #3511 .
2013-01-30 21:01:20 +00:00
Pedro Algarvio
17aee1fc32
Add JUnit compatible xml output to the tests suite.
2013-01-30 20:42:30 +00:00
Pedro Algarvio
ed7c4c97f8
Group parser options.
2013-01-30 20:10:45 +00:00