openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

[test] write test files to ./tmp #265

Closed wgtdkp closed 3 months ago

wgtdkp commented 4 months ago

Current unit tests are writing intermediate testing files to current dir. This is polluting the source dir when executing the tests in the source root dir.

This commit updates the unit tests to output the testing data files to a dedicated ./tmp dir and ignore dir tmp/ from git.

Fixes https://github.com/openthread/ot-commissioner/issues/253

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.89%. Comparing base (79d1ddc) to head (9c8d1ec).

:exclamation: Current head 9c8d1ec differs from pull request most recent head 3b01541. Consider uploading reports for the commit 3b01541 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #265 +/- ## ========================================== + Coverage 72.88% 72.89% +0.01% ========================================== Files 72 72 Lines 7500 7500 ========================================== + Hits 5466 5467 +1 + Misses 2034 2033 -1 ``` [see 2 files with indirect coverage changes](https://app.codecov.io/gh/openthread/ot-commissioner/pull/265/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openthread)