Releases: ARMmbed/greentea
Releases · ARMmbed/greentea
v1.2.2
Update to v1.2.1
Changes:
Add colors to few more HTML report issues
Add uniquely MUTs to list of MUTs which will be used for testing
Reducing required keys needed from mbed-ls
Using getElementById for fetching elements in HTML report
Fix issue 181, when platform contains '-' when exporting to HTML
Multi-target runs now copy to the correct device
Handle case where tests aren't in each target run
Release notes for Q2.2016 (Summary)
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
Add HTML reporting feature
Official remote resource manager support (switch --grm) (sync all dependencies)
This release alligns dependency versions for htrun
and mbed-ls
to support Remote Resource Manager feature (--grm
switch).
Required:
htrun v1.1.0
: https://github.com/ARMmbed/htrun/releases/tag/v1.1.0- Add experimental support for Remote Resource Manager (switch --grm))
mbed-ls v1.1.0
: https://github.com/ARMmbed/mbed-ls/releases/tag/v1.1.0- Add support for dummy platforms generation API
- Released to PyPI
Add experimental support for Remote Resource Manager (switch --grm)
Changes:
- Add support for command line switch
--grm
between greentea andhtrun
, see #161- Example:
--grm K64F:raas_client:10.2.302.41:8000
- Add
mbed-ls
dummy platform used for triggering workflow for glbal resource manager, see ARMmbed/mbed-ls#107 - Add to
mbedhtrun
command line switch--grm
which will be passed tombedhtrun
for global resource allocation, see ARMmbed/htrun#108
- Example:
- Released to PyPI
Greentea version printing
Changes:
- Add API to fetch mbed-greentea package version string, see #163
Updated version to v1.0.0
Changes:
- Update version to
v1.0.0
- Release to PyPI
Add recursive search for test_spec.json in mbed-os and mbed-os app dir level
Add SKIPPED as valid result for JUNIT report
Changes:
- Add support for SKIPPED test cases, #158
- Add support for
greentea-client
v1.3.0 (__testcase_name
support), see greentea-client v1.30 - Add unit tests for parsing of
__testcase_count
and__testcase_name
- Remove old way of printing detected devices
- Released to PyPI