Commit Graph
96 Commits
Author SHA1 Message Date
Jeff Wallace dc7fcb3790 Changed except statements to be more specific. Changed places where files are opened to use the safer with statement. 2013-07-17 11:39:55 -04:00
Jeff Wallace f180665333 Updated documentation of functions and classes. 2013-07-16 15:18:03 -04:00
Jeff Wallace 65471d726a Removed global variable test_config, updated appropriate references 2013-07-16 14:20:14 -04:00
Jeff Wallace 9f2015e4ce Removed global variable failedbool, updated overall pass/fail output message 2013-07-16 13:34:23 -04:00
Jeff Wallace 62087cdc5b Added email data to test configuration, modified Emailer.py so it doesn't need a configuration file to send an email. 2013-07-16 12:54:01 -04:00
Jeff Wallace 625c7c8c3b Database dump function now takes paths as arguments intstead of TestData 2013-07-16 11:38:50 -04:00
Jeff Wallace c103c1ac62 Replaced imgfail globabl variable with a TestData attribute. 2013-07-16 10:03:54 -04:00
Jeff Wallace c03872b5d9 Replaced accidental deletion in previous commit. 2013-07-15 14:14:56 -04:00
Jeff Wallace e89fb44523 TestData now stores pass/fail flags for the different 'diffs': html report, database, and logs. 2013-07-15 13:54:09 -04:00
Jeff Wallace 151d35b8f2 Reorganized script. TskDbDiff no longer relies on TestData. 2013-07-15 13:18:57 -04:00
Jeff Wallace 3e1ef3712f Email attachments are now stored in Errors class. Added documentation to Errors class. 2013-07-15 12:51:30 -04:00
Jeff Wallace d87b0972b1 Moved error reporting to a central class 2013-07-15 12:30:08 -04:00
Jeff Wallace ba50b7fbad Reorganized regression.py and Emailer.py. Moved util functions to a new file, regression_utils.py 2013-07-12 15:25:32 -04:00
Jeff Wallace 0bfee91eda Cleaned up and refactored TestResultsDiffer to redesign specification. 2013-07-12 14:38:12 -04:00
Jeff Wallace 66c01b5742 Created DiffResults class to store TskDBDiff results in TestData. 2013-07-11 14:43:09 -04:00
Jeff Wallace ab5a18ae15 Replaced usage of make_path with attributes and methods in TestData 2013-07-11 12:31:33 -04:00
Jeff Wallace 7c87217bf4 Added additional helper methods to TestData to eliminate overuse of make_path 2013-07-11 10:22:41 -04:00
Jeff Wallace 7952b7368c Added methods to TestData to produce paths for gold or output directories. 2013-07-10 16:43:14 -04:00
Jeff Wallace d8136f5754 Changed documentation to google python standards. 2013-07-10 14:08:10 -04:00
Jeff Wallace 52fba3c817 Changed several filename attributes of TestConfiguration to be constant global variables 2013-07-10 09:43:03 -04:00
Jeff Wallace f537e18b92 Removed other instances of using make_path to get paths to database files in TskDbDiff 2013-07-09 16:54:47 -04:00
Jeff Wallace 4c257655df Refactored TskDbDiff (DatabaseDiff) to eliminate repeated code and correctly close database connections 2013-07-09 16:04:23 -04:00
Jeff Wallace f346032d72 Removed redundant attributes in TestConfiguration and consolidated places they were used. 2013-07-09 14:10:39 -04:00
Jeff Wallace 1460a8c7cf Fixed naming error in previous commit 2013-07-09 13:17:52 -04:00
Jeff Wallace 3c1cc941c7 Cleaned up _run_test method by moving test_data configuration to _generate_test_data 2013-07-09 13:00:53 -04:00
Jeff Wallace a7d4d9761e Removed configuration logic from run_test 2013-07-09 12:26:48 -04:00
Jeff Wallace 32b9b63be2 Changed Test_Runner class name to conform to naming conventions 2013-07-09 11:54:03 -04:00
Jeff Wallace 92712af0ec Created separate method to generate a list of TestData to be used by run_tests 2013-07-09 11:49:31 -04:00
Jeff Wallace 345cb2582f TestConfiguration no longer relys on TestData to print errors 2013-07-09 11:22:05 -04:00
Jeff Wallace 71d35554a1 Fixed regression test script so the test configuration has access to the parsed command line arguments 2013-07-09 10:14:07 -04:00
U-BASIS\jwallace 49912d966d Renamed TestAutopsy class to TestConfiguration. Moved Configuration logic from run_tests to TestConfiguration class 2013-07-05 12:29:57 -04:00
Brian Carrier 030001f391 Updated regression test files to clean up and reorganize 2013-07-01 12:23:24 -04:00
Brian Carrier 480f00a134 Updated regression test script with comments 2013-06-28 13:00:24 -04:00
Smoss 01637d7132 Fixed Regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-27 16:57:10 -04:00
Smoss 07d898b80b Updated emailer.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-27 12:49:52 -04:00
Smoss 53a3bb5f6f Removed references to the gold_creation value.
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-26 17:48:01 -04:00
Smoss 1068085622 Refactored regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-26 14:32:54 -04:00
Smoss 46088288a9 Fixed regression.py and USB_DATA.
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-24 12:20:31 -04:00
Smoss 5c242f7fb0 Changed regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-21 16:20:41 -04:00
Smoss aa3dad2125 Updated regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-21 11:44:52 -04:00
Smoss 5a2cebbb20 Restructured regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-20 18:23:31 -04:00
Smoss 2f871f43ad Changed regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-20 11:28:37 -04:00
Smoss 5725411496 Fixed regression.py.
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-19 18:39:49 -04:00
Smoss b7c252ea8b fixed regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-18 16:33:54 -04:00
Smoss c532328afd Updated regression.py
Signed-off-by: Smoss <Smoss117@gmail.com>
2013-06-18 15:53:43 -04:00
Smoss 24bbf75d9f Fixed regression.py 2013-06-17 18:21:31 -04:00
Smoss 6c13476fb0 Updated regression.py 2013-06-17 18:09:00 -04:00
Smoss 52d8d11219 Updated Regression.py 2013-06-17 10:32:37 -04:00
Smoss c83f4c744c Updated USBExtraction 2013-06-11 19:04:24 -04:00
Sean-M 2ac6c66309 added usb extraction and changed regression.py.
Signed-off-by: Sean-M <Smoss117@gmail.com>
2013-06-05 11:05:23 -04:00