Releases: ARMmbed/greentea
Releases · ARMmbed/greentea
Add default values for platform properties
Check for yotta target first from local .yotta.json
Changes:
- Greentea will check for yotta target first from local
.yotta.json
file instead of callingyotta --plain target
command line #132 - Released to PyPI:
Submitting dist\mbed-greentea-0.2.14.zip to https://pypi.python.org/pypi
Server response (200): OK
Use case supported: On a host without yotta installed, for example think CI slave we still would like to fetch yotta target
information passed there with the build. This information is originally checked with $ yotta --plain target
command. We would like to avoid command line execution and parse .yotta.json
file in root of yotta module.
This will even stronger decouple Greentea from build system which now is optional.
Note: This is a part of an effort to completely decouple build system from Greentea so we can use test specification instead.
If exist test_spec.json is now implicitly picked up by Greentea to run tests
Changes:
- Yotta module and test spec supporting build systems now coexist in this release, see #130.
- Add
test_spec.json
as default name for--test-spec <filename>
switch.- All build systems producing
test_spec.json
will be picked up by greentea automatically.
- All build systems producing
- README updated with test specification format and usage. See README.
Improvements for release v0.2.10
Changes
- New test specification (switch
--test-spec
) adds complexity to Greentea. Few patches are required to make sure test specification can be used with other Greentea features. - Adding test case result text to test report #121
- Bug-fix: Greentea spawns multiple process for htrun equal to entries in test_spec.json #119
- Bug-fix: Serial port baudrate is doubled for multiple builds from test spec #123, #124
- Bug-fix: Switch
--list
does not enumerate tests from test spec #125, #126 - Patches on top of Greentea v0.2.11 (bug-fixes and alignment with test specification feature) #120
- Unit testing code coverage improvements
- Released to PyPI
JUNIT reported bugfixes
Changes:
- Issue with JUNIT reporter, switch
--report-junit
affected, see #118 - Previous release introduced traceback issue when calling JUNIT reported.
- Released to PyPI
Add test specification JSON formatted input (agnostic build feature)
Changes:
- See changes and documentation here: #113.
- New switch --test-spec that takes a json files argument. Contents format shown below.
- Moved yotta specific code and assumptions in mbed_yotta_api.py that now produces same test spec as shown below.
- Released to PyPI:
Submitting dist\mbed-greentea-0.2.10.zip to https://pypi.python.org/pypi
Server response (200): OK
Updating dependency for mbed-host-tests
Changes:
- Bumping dependency for mbed-host-tests to 0.2.5 to align with new command line switch
-t
. Thanks @bridadan ! - Add new unit tests to increase unit test coverage from 29% to 34%.
- Released to PyPI.
Add default hook 'lcov' for coverage instrumentation
Changes:
- Add predefined hook for code coverage support. See here: #110.
- Supported under Ubuntu/Linux/Mac.
- Requires
gcov
,LCOV
installation. - Example command line call:
$ mbedgt -VS --hooks=lcov
or$ mbedgt -VS -H lcov
.
- Released to PyPI.
Add SW/HE reset features utils
Changes:
- Add new parameter to
mbeddhtrun
call. See here: #108. Corresponding PRs: - Released to PyPI.
Improvements to Ctrl+C handling
Changes:
- When
mbedhtrun
catchesCtrl+C
it will return with error code < 0. See: ARMmbed/htrun#73. - Greentea will check
mbedhtrun
return code and stop execution test cases withmbedhtrun
return to environment value < 0. For example-3
stands forKeyboardInterrupt
. See htrun/v0.2.4.
Released to PyPI:
Submitting dist\mbed-greentea-0.2.6.zip to https://pypi.python.org/pypi
Server response (200): OK