You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/04/21 01:07:38 UTC

[GitHub] [incubator-teaclave] mssun opened a new pull request #269: Automatic collect test cases into inventory and support to run with predicate

mssun opened a new pull request #269:
URL: https://github.com/apache/incubator-teaclave/pull/269


   ## Description
   
   - Introduce `[test_case]` to annotate a test case function.
   - Introduce `run_inventory_tests!()` to run all registered test cases.
   - Use `run_inventory_tests!(predicate)` where `predicate` is a closure with type `|&str| -> bool` to filter test cases. The first param is the full path of the registered test function.
   - Functional test is rewritten with these helpers.
   - `crates-sgx` and `crates-io` are also updated with `inventory` 0.1.6.
   
   CI passed (https://ci.mesalock-linux.org/mssun/incubator-mesatee/680)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org