Skip to content

Releases: ARMmbed/greentea

Add default values for platform properties

31 May 16:17
Compare
Choose a tag to compare

Changes:

  • Add default behavior to 'get_platform_property', see #133
  • Bug-fix: Fixed #134: TypeError caused by incorrect formatting of error message in run_host_test function, #135
  • Released to PyPI

Check for yotta target first from local .yotta.json

26 May 13:44
Compare
Choose a tag to compare

Changes:

  • Greentea will check for yotta target first from local .yotta.json file instead of calling yotta --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

25 May 16:27
Compare
Choose a tag to compare

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.
  • README updated with test specification format and usage. See README.

Improvements for release v0.2.10

19 May 16:24
Compare
Choose a tag to compare

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

06 May 13:06
Compare
Choose a tag to compare

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)

29 Apr 15:47
Compare
Choose a tag to compare

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

07 Apr 12:38
Compare
Choose a tag to compare

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

23 Mar 10:29
Compare
Choose a tag to compare

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

23 Mar 10:22
Compare
Choose a tag to compare

Changes:

Improvements to Ctrl+C handling

14 Mar 15:14
Compare
Choose a tag to compare

Changes:

  • When mbedhtrun catches Ctrl+C it will return with error code < 0. See: ARMmbed/htrun#73.
  • Greentea will check mbedhtrun return code and stop execution test cases with mbedhtrun return to environment value < 0. For example -3 stands for KeyboardInterrupt. 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