Przemek Wirkus
c0134d66fb
Host test plugins: run() function will just print result from test() function directly, not check boolean state from test
2014-10-28 11:40:41 +00:00
Przemek Wirkus
b9cee9709e
Host test plugins: Default host test aligned and refactored so it can be invoked via run() function
2014-10-28 11:36:46 +00:00
Przemek Wirkus
4d8dfed27f
Host test copy functionality migration: copy functionality partially moved to host_test (tested with basic set of tests, not with e.g. NET tests.
...
Host test copy functionality: TODO: modify rest of host tests to use self.mbed.reset() and self.mbed.copy_image() according to curent test scipt API
2014-10-27 16:38:19 +00:00
Przemek Wirkus
a25f5ceaaa
Host test copy functionality migration: removed all extra port and disk functionality. It will be added when it is really needed
2014-10-27 15:50:33 +00:00
Przemek Wirkus
ae4be96c86
Host test copy functionality migration: added required parameters for host_test.py command line: path to image, copy method
2014-10-27 15:46:15 +00:00
Przemek Wirkus
17f42519f0
Host test plugins: Added MPS2 and Firfox copy methods (both not stable and require further development)
...
Host test plugins: Added 'stable' attribute to each plugin, by default all plugins are not stable
Moved all MPS2 related functions to MPS2 plugins in host test directory
2014-10-23 16:56:05 +01:00
Przemek Wirkus
6a1bdb588e
Host test plugins: added copy pligins, and removed Selenium and eACommander dependency from Test API
2014-10-23 16:30:17 +01:00
Przemek Wirkus
efb46ca7de
Host test plugins: moved serial port flashing just before plugin reset call
2014-10-22 17:49:54 +01:00
Przemek Wirkus
fd2142f3bf
Host test plugins: First draft with working pluging for mbed (serial sendBreak command for reset)
2014-10-22 15:12:24 +01:00
Przemek Wirkus
755565d854
Host test refactoring
...
Host test refactoring: replaced magic values of test results returned by host test
Prints with stdout.flush() replaced with notify function
Host test refactoring: created separate enum like class for test result strings
2014-10-17 15:14:53 +01:00
Przemek Wirkus
567f4a170f
Refactoring of report exporter to support HTML and JUNIT. Modified host tests to support serial and copy issues in more generic way. Copy in test suite and serial in host_test control flow.
2014-10-15 11:33:37 +01:00
Przemek Wirkus
6690db1444
Feature: Device detection via serial - part 2
2014-09-24 14:58:07 +01:00
Przemek Wirkus
8c77115d55
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:22 +01:00
Przemek Wirkus
2efe99a100
Global serial read changed to 1 second
2014-09-11 13:28:10 +01:00
Przemek Wirkus
29dbc34202
Changed default serial timeout for host test
2014-09-11 13:28:06 +01:00
Przemek Wirkus
41c7771268
Fixed small typu and added print to RTC host test
2014-09-05 11:51:21 +01:00
Przemek Wirkus
828ba90dcd
Added 'real-time' test result printing when tests are executed (view test execution progress using option -V)
2014-09-03 13:33:50 +01:00
Przemek Wirkus
b45361a4d4
Flush separated for different methods
2014-09-01 17:05:00 +01:00
Przemek Wirkus
9cf976e827
Flushing serials after reset added as test stability improvement
2014-09-01 16:27:54 +01:00
Przemek Wirkus
6a9e726ccd
Flushing serials after reset added as test stability improvement
2014-09-01 16:25:00 +01:00
Przemek Wirkus
2c166222b6
Added parent directory to import path to host test script so we can now impoer workspace_tools.* as we do in other scripts - problem was host_test.py and other tests run with custom CWD and imports are not easy to maintain
2014-09-01 16:10:24 +01:00
Przemek Wirkus
e25ffc7856
Added to switch -c option 'eACommander' and 'eACommander-usb'
...
Added to switch --reset-type option 'eACommander' and 'eACommander-usb'
2014-09-01 15:13:42 +01:00
Przemek Wirkus
278acbec5d
Host test: wrapped mbed.serial.timeout into separate function to avoid traceback and send proper IO_SERIAL error from host test(s)
2014-08-14 11:29:56 +01:00
Przemek Wirkus
a5bdd4a8bb
More comments added to methods in host_test.py
2014-08-13 11:29:06 +01:00
Przemek Wirkus
005c3a7b87
Host test: wrapped timeout for MUTs serial port access to handle IO_SERIAL error while accessing serial port
2014-08-13 11:11:51 +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
64640c8880
Feature: MPS2 reset functionality implementation (not finished and will not break current implementation)
2014-08-13 10:26:43 +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
d5b7006223
Added reset option to host_test so in the future we can use different reset type, e.g. touch reset.txt on systems like MPS2 boards
2014-07-30 17:53:03 +01:00
Przemek Wirkus
0725b33375
Added exception handling for prettytable and serial modules - gracefuly handle missing imports.
2014-07-11 11:24:03 +01:00
Przemek Wirkus
41a7dada69
Removed TODO section in comments - all TODOs are fixed and implemented now.
2014-07-11 10:34:52 +01:00
Przemek Wirkus
82e4a672ca
Added seral port read/write wrappers to handle serial port communication issues. Added IOERR_SERIAL handler for basic test. Other tests will be refactored in separate commits.
2014-07-10 14:51:56 +01:00
Przemek Wirkus
10974f29f3
Removed unused 'pass' statement
2014-07-10 10:58:09 +01:00
Przemek Wirkus
362d6c83ff
Added TODO for test suite improvements.
2014-07-04 14:52:09 +01:00
Przemek Wirkus
0c937bb333
Added more todo to host test file
2014-06-26 17:44:11 +01:00
Przemek Wirkus
9b1c07195e
Added TODO to fix issues with serial detection
2014-06-26 11:11:57 +01:00
Przemek Wirkus
f5d3245fe9
Added safer serial.sendBreak() function implementation to handle Linux issues
2014-06-23 17:42:04 +01:00
Przemek Wirkus
b345a189cf
Added implementation for TCP and UDP client
2014-03-17 17:29:18 +00:00
Bogdan Marinescu
d0b2fb6c66
Added flow control test
...
Since this requires a separate serial port connection, added this as a
new attribute of the MUTs.
2013-12-04 19:46:51 +02:00
Emilio Monti
3c6e2ab67a
Add license to workspace_tools files
2013-08-06 14:38:00 +01:00
Emilio Monti
5c20760685
Initial commit of the mbed libraries and tools
2013-02-18 15:32:11 +00:00