Commit Graph

109 Commits (2942309fd4c927f2fa52d23099e05e972bbdec5c)

Author SHA1 Message Date
Przemek Wirkus 197a1afe5e Unlocked --db switch. Added Wiki page entry to explain how to use MySQL DB with test suite 2014-11-21 13:57:19 +00:00
Przemek Wirkus 858196ffff When users are using 'build only flag' (switch -O) and test do not have specified peripherals (muts.json file is just empty dictionary) we can allow test building by default. This supposed to be Yotta related improvement. 2014-11-12 18:02:07 +00:00
Przemek Wirkus ad70273249 Removed opts.db_url from optional params list in singletest constructor 2014-10-20 11:38:51 +01:00
Przemek Wirkus b3c342bf7c Unlocked option -f (--filter) to filter result by first column 2014-10-20 10:51:02 +01:00
Przemek Wirkus 7935e0f5ea Removed exit(-1) when checking for missing modules. Instead now it will be prompted to used when singletest starts 2014-10-16 14:34:37 +01:00
Przemek Wirkus 12a9051aba Removed few minor pyFlakes warnings 2014-10-15 16:33:30 +01:00
Przemek Wirkus 51223ef6d1 Refactoring of report exporter to support HTML and JUNIT. TODO: add support for TEXT output.
Added JUtnit exporter
2014-10-15 11:33:30 +01:00
Przemek Wirkus 0100aa5732 Removed usused imports 2014-10-15 11:33:26 +01:00
Przemek Wirkus ccac8f8339 Midified way singletest script is checking for installed modules required by test suite 2014-10-15 11:33:22 +01:00
Przemek Wirkus 9fe239dcad Added HTML reporting feature, switch --report-html FILENAME to singletest.py so now users can export test results to external HTML file. This feature can be used to display HTML reports on CI dashboards 2014-09-25 17:42:08 +01:00
Przemek Wirkus b031920624 Added clean build switch --clean to singletest script 2014-09-18 11:17:57 +01:00
Przemek Wirkus 63ee01bdd9 Modified host tests to use serial.realine() function to avoid extra timeouts during tests (test will work faster and will be more reliable) 2014-09-15 17:44:30 +01:00
Przemek Wirkus 39e75c042f Changed test suite version to 1.2
Added simple test to check C strings conversions
2014-09-02 17:34:08 +01:00
Przemek Wirkus 52f929f4e0 Feature: Added waterfall test option: if used defines --loops or --global-loops and -W (--waterfall) option; testing of particular test will be tested until test pass (OK result) 2014-09-02 11:43:08 +01:00
Przemek Wirkus 01b0ed20f7 Added test output to test_entry in database so users can browse between results and see console output 2014-09-01 08:43:45 +01:00
Przemek Wirkus 35fd4ad7d9 Database: added new factory and verbose database detection functions
Added separate file to store test suite DB access interface

Added new functionality to database interface: database name, connection status, hostname + uname functionality

Added option --db to singletest.py so users can define database connection url for database access

Added database configuration check with switch --config. Now users can combine switch --db and --config to check database conenctivity
2014-09-01 08:43:25 +01:00
Przemek Wirkus 61f028f050 Fixed commit issues regarding logging mechanism - missed during previous commits 2014-08-13 10:27:10 +01:00
Przemek Wirkus 698fe930e6 Changed functions' docstring format a little to mach singletest, test api and test webapi files 2014-08-13 10:26:58 +01:00
Przemek Wirkus 17c0132d56 Added parts of functionality related to extra reset types, global timeout increments and image configuration file modifications 2014-08-13 10:26:50 +01:00
Przemek Wirkus c1ebcb498b Simple indent for function call parameters 2014-08-13 10:26:46 +01:00
Przemek Wirkus 5947838b2b BUgfix: jobs (-j) value was not properly set in SingletestRunner class parameters 2014-08-13 10:26:41 +01:00
Przemek Wirkus c3c0be5443 Added extra reset option - not yet implemented. Only switches added to test suite CLI and host_test.py optparse 2014-08-07 11:48:47 +01:00
Przemek Wirkus 7bc89f6323 Refactoring: Continue refactoring for separate CLI and webservice API / functionalities in test suite. Separated by subclassing: 'one responsibility per class' 2014-08-05 09:32:44 +01:00
Przemek Wirkus 72fafcf269 Few pyLint and pyFlakes defects fixed 2014-08-04 16:16:47 +01:00
Przemek Wirkus eed8d68789 Refactoring: moved optParse options frm singletest.py CLI script to test_api to group common options in one place. Added new file test_webapi.py to store there web services API and related functions 2014-08-04 15:57:59 +01:00
Przemek Wirkus 13c6c4f13e Refactoring: created test_api.py and moved test code and classes to separate test api file. Prepareing to add MPS2 reset functionality 2014-08-04 14:29:46 +01:00
Przemek Wirkus dcf1ef2130 Added 'firefox' as one of the ways to copy binary to target device (other options are cp, copy, xcopy, shutil.copy() 2014-08-04 14:29:44 +01:00
Przemek Wirkus 5b07b38554 Added script major / minor version 2014-08-04 14:29:39 +01:00
Przemek Wirkus d9fbefd373 Test compliance with LPC1549 and LPC11U68 2014-07-30 17:53:01 +01:00
Przemek Wirkus 4c24cd6665 Fixed shuffle seed print only when shuffling 2014-07-30 17:52:58 +01:00
Przemek Wirkus 12b8dff9f9 First RESTful API functionality draft 2014-07-30 17:52:56 +01:00
Przemek Wirkus 783d20bac8 Added commandline parser help display when -i or -M option is missiog from command line 2014-07-30 17:52:54 +01:00
Przemek Wirkus 62c3118e38 Bugfixed filter target counter when used with filter. 2014-07-30 17:52:51 +01:00
Przemek Wirkus d71e2713dd Added simple filtering switch for -S option. This can be extended in the future to other switches like -r / -R 2014-07-30 17:52:49 +01:00
Przemek Wirkus d28da8ec83 Fixed flow for JSON defect line / column parsing from json exceprion msg string 2014-07-30 17:52:46 +01:00
Przemek Wirkus 03c96a45de Now issues in JSON configuration files will be printed in human readable format. 2014-07-30 17:52:43 +01:00
Przemek Wirkus d0cd53e29f Few pyLint issues fixed 2014-07-30 17:52:41 +01:00
Przemek Wirkus dc12ff6bba Fixed few pyFlakes issues + simple refactoring of unused variables and imports 2014-07-30 17:52:38 +01:00
Przemek Wirkus c75944562f Bugfix: removed blocking continue from shuffling option 2014-07-30 17:52:36 +01:00
Przemek Wirkus 28e4fc4f06 Separation for test class SingletestRunner towards Object Oriented design. Added shuffle seed to recreate test order when shuffling test order 2014-07-30 17:52:31 +01:00
Przemek Wirkus 4c10fbb660 Changed copyright date to 2014 2014-07-25 17:37:16 +01:00
Przemek Wirkus 8fab5bca18 Bugfix: Replaced magic value of UNDEF test result with proper const name 2014-07-24 15:33:46 +01:00
Przemek Wirkus 21ddd8b6cf bugfix: option -t was not displaying all targets 2014-07-22 10:59:54 +01:00
Przemek Wirkus 805f470880 Bugfix reported by Mihail: If image firmware is not found wrong number of rows is reported (returned by SingleTest.handle() method. 2014-07-21 10:03:04 +01:00
Przemek Wirkus 2ad17c9f63 Added new switch -V which will allow users only to print test result text from serial port during test. It helps just to see test results from test / host test itself 2014-07-18 11:43:11 +01:00
Przemek Wirkus f28e561da6 Added new switch -u. Now you can force test suite to shuffle test execution order so your tests are executed in random order 2014-07-18 10:21:47 +01:00
Przemek Wirkus 8c3fb1cdcc Fixed bug in reporting IOERR_COPY. test_all_result was not filled with IOERR_COPY error when using -n ooption with single test 2014-07-18 10:21:43 +01:00
Przemek Wirkus d6668565cf Removed prints in verbose mode regarding skipped print. Still this prints can be shown using --verbose-skipped switch 2014-07-15 10:13:23 +01:00
Przemek Wirkus 19bfb0eb61 Added new feature: Now user can change default global name of project (test) binary to other name or by default use name chosen by the suite which is test folder name 2014-07-15 10:13:17 +01:00
Przemek Wirkus ed4f76b9de Added TIMEOUT as one of the rest results. Fixed test result structure in result summary (not all results were added) 2014-07-14 13:08:36 +01:00