Skip to content

Releases: ARMmbed/greentea

v1.2.2

04 Oct 10:11
Compare
Choose a tag to compare

Changes:

Adding 'BUILD' to list of checked directories for host test

Update to v1.2.1

19 Sep 13:27
Compare
Choose a tag to compare

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)

25 Jul 12:27
Compare
Choose a tag to compare

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 in mbed_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 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 and mbedhtrun`; 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 and mbed-ls to support Remote Resource Manager feature (--grm switch)
  • Add to -n switch simple test-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 to mbedhtrun
  • Add predefined hook for LCOV code coverage support; Requires gcov and LCOV 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 calling yotta --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 in binaries::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 in run_host_test() function
  • Bug-fix: Greentea spawns multiple process for htrun equal to entries in test_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 from targets.json
  • Bug-fix: Polishing of -m / --map-target switch
  • QUICKSTART.md document polishing
  • Add PORTING.md document

Add HTML reporting feature

22 Jul 10:55
Compare
Choose a tag to compare

Changes:

  • Added HTML report generation, see #170
    • New command line switch --report-html used to generate HTML reporting
  • Response for #167 (suppress logs in non -V mode, see #169
    • We are now less verbose without -V flag!
  • Released to PyPI

Official remote resource manager support (switch --grm) (sync all dependencies)

07 Jul 23:11
Compare
Choose a tag to compare

This release alligns dependency versions for htrun and mbed-ls to support Remote Resource Manager feature (--grm switch).

Required:

Add experimental support for Remote Resource Manager (switch --grm)

07 Jul 15:49
Compare
Choose a tag to compare

Changes:

  • Add support for command line switch --grm between greentea and htrun, 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 to mbedhtrun for global resource allocation, see ARMmbed/htrun#108
  • Released to PyPI

Greentea version printing

07 Jul 13:48
Compare
Choose a tag to compare

Changes:

  • Add API to fetch mbed-greentea package version string, see #163

Updated version to v1.0.0

06 Jul 16:27
Compare
Choose a tag to compare

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

04 Jul 13:33
Compare
Choose a tag to compare

Changes:

  • Add recursive search for test_spec.json in mbed-os and mbed-os app dir level, see #156
    • When issuing $ mbedgt --list users will get of tests in ./.build/ or ./mbed-os/build/
  • Add information about origin of passes / failures in miscount warning, see #159
  • Released to PyPI.

Add SKIPPED as valid result for JUNIT report

01 Jul 13:29
Compare
Choose a tag to compare

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