Commit graph

18 commits

Author SHA1 Message Date
Renato Alves
65b6875846 Unittest - Remove execute bit from template.t and unnecessary comments 2014-10-17 16:42:44 +01:00
Renato Alves
fdbb8e02f0 Unittest - Add test example using libfaketime 2014-07-18 17:12:28 +01:00
Renato Alves
2a198d59fe Unittest - Add mechanism to skip task and taskd tests
* When testing multiple clients vs server versions, repeating client
tests is unnecessary. By setting the env variables TASKW_SKIP and
TASKD_SKIP it will now be possible to skip all task (client only) and
taskd (client + server) tests, respectively.
2014-07-18 13:33:51 +01:00
Renato Alves
9bd7b336f9 Unittest - Don't use unittest.TestCase use basetest.TestCase instead 2014-07-15 03:04:17 +01:00
Renato Alves
ea5186716e Unittest - Example of TAP diag use in template.t
* Also prettify its output with the amazing whitespace
2014-07-15 03:02:47 +01:00
Renato Alves
5f50c44041 Unittest - Add example of skipping taskd test on template.t 2014-07-15 00:51:29 +01:00
Renato Alves
d354d13263 Unittest - Bring back diag() for generating TAP output
* Still needs work to make sure output is displayed after the test
status (not ok ...) and not before.
2014-07-14 11:38:04 +01:00
Renato Alves
47c113bf8a Unittest - Don't run template.t as a regular test 2014-07-13 23:14:46 +01:00
Renato Alves
42cfda704f Unittest - Replacing old basetest framework
* Adapt bugs to work with the newer testing framework
2014-07-13 23:09:53 +01:00
Paul Beckingham
ca9683d912 Unit Tests
- After renaming 'template.py' to 'template.t', the failing and skipped tests
  within as examples are now affecting the totals because all *.t files are
  run. Commented out tests.
2014-07-04 11:00:44 -04:00
Paul Beckingham
f9ab71685d Unit Tests
- Eliminated the Perl template, overwriting it with the Python template.
2014-07-04 10:25:41 -04:00
Paul Beckingham
a799b54ad4 Unit Tests
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
  length.
2014-05-31 17:24:29 -04:00
Paul Beckingham
744f0f55ac Unit Tests
- Removed obsolete references to 'synch.key'.
2014-05-31 11:53:17 -04:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498 Copyright
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
ada6e49dab Bug #1251
- #1251 tests should sanitize TASKDATA and TASKRC env vars (thanks to Jakub
  Wilk).
2013-09-07 13:52:16 -04:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
c6c99c2e38 Unit Tests
- Added template.t as an example for all new unit tests.
2013-01-19 15:47:41 -05:00