Release notes for Q2.2016 (Summary)
·
234 commits
to master
since this release
Release notes for Q2.2016
- Making Greentea build agnostic by introducing a test spec input switch
- Add new command line switch
--test-spec <file_name>
that takes a json files argument - Add
test_spec.json
as default name for--test-spec
switch - All build systems producing
test_spec.json
will be picked up by greentea automatically - Moved
yotta
specific code and assumptions inmbed_yotta_api.py
that now produces same test spec README.md
updated with test specification format and usage- Add recursive search for
test_spec.json
in mbed-os and mbed-os app dir level
- Add new command line switch
- Add support for
mbed-os/mbed/hal/targets.json
meta-data - Add support for
SKIPPED
test cases; also in in JUNIT report - Add support for greentea-client v1.3.0 (__testcase_name support)
- Add support for command line switch
--grm
between greentea andmbed
htrun`; this is a support for Global Resource Manager APIs - Add
HTML
report generation with new command line switch--report-html <file_name>
- We are now less verbose without
-V
flag! - This release alligns dependency versions for
mbedhtrun
andmbed-ls
to support Remote Resource Manager feature (--grm
switch) - Add to
-n
switch simpletest-name-prefix*
filter to filter test cases with common prefix name - Add more unit tests for cases of
-n
with multiple<test-name>*
entries - Add support for ignoring tests (using
-i
switch) together with-n <names>*
notation - Passing new command line parameter
-t
tombedhtrun
- Add predefined hook for
LCOV
code coverage support; Requiresgcov
andLCOV
installation - Add new unit tests to increase unit test coverage from 29% to 34%
- Adding test case result text to test report
- Yotta module and test spec supporting build systems now coexist in this release
- Greentea will check for yotta target first from local
.yotta.json
file instead of callingyotta --plain target
command line - Add lexicographic order to switch
--list
for test specification - Modify host tests crawler to work with smaller
test_spec.json
with absolute path inbinaries::path
- Set
-S
command line switch as default so Greentea will NOT try to build first (before testing) - Polishing: Improve messaging when not all properties of DUT are detected with
mbed-ls
- Polishing: Replace available devices and MUTs in use for test prints with pretty table
- Polishing: Add unit tests for parsing of
__testcase_count
and__testcase_name
- Polishing: Add information about origin of passes / failures in miscount warning
- Polishing: Add API to fetch mbed-greentea package version string
- Bug-fix: Fixed JSON formatted report (
--report-text <file_name>
); it is now stored to disk, not on screen - Bug-fix:
TypeError
caused by incorrect formatting of error message inrun_host_test()
function - Bug-fix: Greentea spawns multiple process for
htrun
equal to entries intest_spec.json
- Bug-fix: Serial port baudrate is doubled for multiple builds from test specification
- Bug-fix: Switch
--list
does not enumerate tests from test specification - Bug-fix: JUNIT reporter bugfixes; switch
--report-junit
affected - Bug-fix: Patches on top of Greentea v0.2.11 (bug-fixes and alignment with test specification feature)
- Bug-fix: Fixing issues when multiple test builds exist
- Bug-fix:
program_cycles_s
not loaded fromtargets.json
- Bug-fix: Polishing of
-m
/--map-target
switch QUICKSTART.md
document polishing- Add
PORTING.md
document