Граф коммитов

71 Коммитов

Автор SHA1 Сообщение Дата
David Mulder b1a5b04d24 Fixed winforms test cases to connect with testopia. 2011-04-13 12:35:04 -06:00
David Mulder f636d85037 Working on winforms tests 2011-04-11 10:58:38 -06:00
Marc Christensen 22a3a7e8f9 Added xsp4TestCaseId to each test case, cleaned up a bit of code. 2010-08-27 17:57:31 -06:00
Marc Christensen 63f0a1da55 Upgrading infrastructure for xsp4 support. Added example to README, changed several files which referenced xsp2 to also contain equivelant lines for xsp4. Copied xsp2 directory to xsp4 and modified files therein. 2010-08-18 12:15:19 -06:00
Thomas Wiest effeddba14 * Split up the appliance tests into all, mono and monovs directories
* Added a helper method to see if the appliance is a monovs appliance

svn path=/trunk/qa/; revision=139527
2009-08-06 20:48:03 +00:00
Thomas Wiest d8703be041 * Added some initial appliance code to the smoke tests
* Fixed the linux installedFilesTest to include the correct file list
* Changed the appliances to be a type of linux, instead of being their own type

svn path=/trunk/qa/; revision=138873
2009-07-28 20:28:04 +00:00
Thomas Wiest a37c3e1084 * Added OS detection for VPC, VMware and LiveCD to helpers.whichOS()
svn path=/trunk/qa/; revision=138775
2009-07-27 21:59:21 +00:00
Thomas Wiest ac6377ece7 * Woops, accidentally removed one of rusty's changes
svn path=/trunk/qa/; revision=138765
2009-07-27 20:10:18 +00:00
Thomas Wiest 75d6ca2e41 * Added assertGreaterThan, assertLessThan, assertLessThanOrEquals and assertGreaterThanOrEquals to monoTestCase
* Made the compiler tests cd out of the temp dir before removing the temp dir (this was causing problems on windows)

svn path=/trunk/qa/; revision=138764
2009-07-27 20:08:08 +00:00
Rusty Howell 4731de2a7f * Fixed bug in framework with testcaseid
* fixed bug when updating Testopia with zero length list

svn path=/trunk/qa/; revision=138761
2009-07-27 18:54:37 +00:00
Marc E. Christensen 45d34a7737 * Rusty fixed logic in updating Testopia
svn path=/trunk/qa/; revision=138655
2009-07-24 18:15:50 +00:00
Rusty Howell e05d781279 * Added stuff to README
svn path=/trunk/qa/; revision=138558
2009-07-23 15:39:05 +00:00
Rusty Howell 13ef9d9612 * Do not exit if defaults.conf is not present
svn path=/trunk/qa/; revision=138550
2009-07-23 15:13:37 +00:00
Rusty Howell 479e3a7e11 * Changed config file to only have one section
* Added error message to help identify missing config options

svn path=/trunk/qa/; revision=138546
2009-07-23 15:03:07 +00:00
Rusty Howell 48979d5d43 * Changed config file loading
* Only require options to be set if necessary
 * i.e. xsp1TestCase checks that xsp1_port is set, etc

svn path=/trunk/qa/; revision=138497
2009-07-23 05:07:27 +00:00
Thomas Wiest e06690bf3f * Defaulted executeCmd's stderr to go to dev/null unless the caller specifies otherwise
svn path=/trunk/qa/; revision=138459
2009-07-22 21:47:13 +00:00
Rusty Howell 1951205a5d * Removed pdb.set_trace. Decided it was unnecessary
svn path=/trunk/qa/; revision=138457
2009-07-22 21:08:49 +00:00
Rusty Howell 4426870f37 * Moved printColor to helpers.
* Refactored framework to avoid circular imports

svn path=/trunk/qa/; revision=138456
2009-07-22 21:08:48 +00:00
Rusty Howell 8dd235bcf6 * Devs can now leave pdb.set_trace() in code
* use --debug to enable breakpoints

svn path=/trunk/qa/; revision=138455
2009-07-22 21:08:46 +00:00
Thomas Wiest 0c17df2ea3 * Added a printColor method to helpers.py and added windows and unix color modules
svn path=/trunk/qa/; revision=138445
2009-07-22 19:00:27 +00:00
Rusty Howell c1a82f5556 * Updated helpers.getPrefix()
* Added packages to pkgVersionsTest_data

svn path=/trunk/qa/; revision=138257
2009-07-21 02:37:13 +00:00
Rusty Howell 40f7b8cfe8 * update to pkgversion
svn path=/trunk/qa/; revision=138256
2009-07-21 02:37:11 +00:00
Rusty Howell 22bd0640c6 * Moved whichOS() to helpers
svn path=/trunk/qa/; revision=138085
2009-07-16 22:04:06 +00:00
Thomas Wiest 5a3db847a2 * Forgot the import sys :)
svn path=/trunk/qa/; revision=137972
2009-07-15 16:07:31 +00:00
Thomas Wiest bb2a0fe189 * Added a flush so that the test case name being run is printed immediately
svn path=/trunk/qa/; revision=137971
2009-07-15 16:05:26 +00:00
Rusty Howell 7934253ecd remove print statements
svn path=/trunk/qa/; revision=137525
2009-07-08 00:17:12 +00:00
Rusty Howell 7e63edc157 * test runner now sets tests to running
svn path=/trunk/qa/; revision=137524
2009-07-08 00:13:49 +00:00
Rusty Howell 54f22b6387 * implemented threading in update feature
svn path=/trunk/qa/; revision=137518
2009-07-07 21:51:27 +00:00
Thomas Wiest 627e3bca92 * Added helpers.py to common
svn path=/trunk/qa/; revision=137458
2009-07-06 21:44:56 +00:00
Rusty Howell f152492e72 * Fixed bug in batch update
svn path=/trunk/qa/; revision=137446
2009-07-06 19:26:15 +00:00
Rusty Howell 68d04b1dbb * Fix bug where testopia was being called even
when testrunid was None


svn path=/trunk/qa/; revision=137217
2009-07-01 21:42:36 +00:00
Rusty Howell 9b2056fff7 * Clean up bug in getting the qa/common directory
svn path=/trunk/qa/; revision=137170
2009-06-30 22:06:39 +00:00
Rusty Howell 2a9625c4bb * Update testopia even following abort
svn path=/trunk/qa/; revision=137167
2009-06-30 21:38:37 +00:00
Rusty Howell cfc5a75f73 * Refactored testopia calls to monoTestopia class
* Call Testopia once at beginning and grab needed data
* Added --failed to options
* Print out error messages as they happen


svn path=/trunk/qa/; revision=137166
2009-06-30 21:35:50 +00:00
Thomas Wiest 28171396fc * Added a line for "Passed" test cases so that it's explicit
svn path=/trunk/qa/; revision=137090
2009-06-29 15:54:20 +00:00
Thomas Wiest 01c6000cb0 * Moved the spot where we start the clock to be more accurate of the overall time it takes to run the tests.
* Improved the time output to include "Hours" (future proofing it a bit)
* Added a check for windows to the timing import calls (future proofing it for if / when we have tests on windows)

svn path=/trunk/qa/; revision=137086
2009-06-29 15:44:45 +00:00
Rusty Howell 21477cd260 Added more colors to the dict
svn path=/trunk/qa/; revision=137055
2009-06-28 23:01:02 +00:00
Rusty Howell d9db81b983 * Fixed issue when creds file is missing
* Added keyboard interrupt to main loop
* Ctrl+c will terminate test run but return
   results from the test that were run


svn path=/trunk/qa/; revision=137027
2009-06-27 05:29:02 +00:00
Rusty Howell 701300f8c8 * Moving test runner stuff to its own module
svn path=/trunk/qa/; revision=137026
2009-06-27 01:09:46 +00:00
Rusty Howell d006164115 * Fixed use case where creds file does not exist
* Change time output to minutes and seconds
* Change color for skipped test cases
* Check testopia creds and disable Testopia if
   creds aren't valid


svn path=/trunk/qa/; revision=137025
2009-06-27 00:26:47 +00:00
Thomas Wiest 42ea603295 * Added rudimentary timing (need to make it better)
svn path=/trunk/qa/; revision=137018
2009-06-26 22:40:48 +00:00
Thomas Wiest ef3e93c5f0 * Made it so that test cases that are skipped say "skipped" instead of "ok"
svn path=/trunk/qa/; revision=137014
2009-06-26 22:29:39 +00:00
Rusty Howell 318154ccdc * Don't create log file if logfile == 'None'
svn path=/trunk/qa/; revision=136792
2009-06-24 21:54:29 +00:00
Rusty Howell 0d9d57deb7 * Save testrun the first it's grabbed from Testopia
svn path=/trunk/qa/; revision=136743
2009-06-23 20:26:35 +00:00
Rusty Howell 17b1f3e3cf * Refactored the running the test cases into a new method
* Flatten test suite and run each test
* Print red error message when test case fails
* Print the progress of the test suite


svn path=/trunk/qa/; revision=136720
2009-06-23 17:30:15 +00:00
Rusty Howell 09be0d8ef2 * No longer use unittest.main()
svn path=/trunk/qa/; revision=136666
2009-06-22 23:46:09 +00:00
Rusty Howell 66ecccce63 * Fixed a bug in reading the conf file
svn path=/trunk/qa/; revision=136665
2009-06-22 23:32:35 +00:00
Rusty Howell 353fbb5200 Changed error message
svn path=/trunk/qa/; revision=136637
2009-06-22 19:36:29 +00:00
Marc E. Christensen 0978a66983 * Rusty fixed a bug in reading defaults.conf
svn path=/trunk/qa/; revision=136519
2009-06-19 20:32:03 +00:00
Rusty Howell 7586e5e30a * Moved --usexsp2 handling to proper method
svn path=/trunk/qa/; revision=136374
2009-06-18 03:43:48 +00:00