-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ladislas/feature/functional tests gt output #1138
ladislas/feature/functional tests gt output #1138
Conversation
6a54d6b
to
b077117
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1138 +/- ##
========================================
Coverage 96.00% 96.00%
========================================
Files 138 138
Lines 3253 3253
========================================
Hits 3123 3123
Misses 130 130 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
File comparision analysis report🔖 Info
Click to show memory sections
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff list
|
File comparision analysis report🔖 Info
Click to show memory sections
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff list
|
b077117
to
c8ab7c3
Compare
Also added the duration for each test �[32m[==========]�[00m Running functional_ut_file_manager tests.
�[32m[----------]�[00m
�[32m[ RUN ]�[00m initialize SD card
�[32m[ OK ]�[00m initialize SD card (14 ms)
�[32m[ RUN ]�[00m remove existing files
Cleaning up files, directories
Doesn't exit: "/fs/var/tmp/test/dir/dir_file.txt"
Doesn't exit: "/fs/var/tmp/test/dir/sub"
Doesn't exit: "/fs/var/tmp/test/dir/"
Doesn't exit: "/fs/var/tmp/test"
�[32m[ OK ]�[00m remove existing files (12 ms)
�[32m[ RUN ]�[00m open existing file
�[32m[ OK ]�[00m open existing file (2 ms)
�[32m[ RUN ]�[00m create root directory
�[32m[ OK ]�[00m create root directory (45 ms)
�[32m[ RUN ]�[00m create directory
�[32m[ OK ]�[00m create directory (46 ms)
�[32m[ RUN ]�[00m create subdirectory
�[32m[ OK ]�[00m create subdirectory (44 ms)
�[32m[ RUN ]�[00m create & open new file
�[32m[ OK ]�[00m create & open new file (12 ms)
�[32m[ RUN ]�[00m close new file
�[32m[ OK ]�[00m close new file (1 ms)
�[32m[ RUN ]�[00m write to new file
�[32m[ OK ]�[00m write to new file (13 ms)
�[32m[ RUN ]�[00m read new file
�[32m[ OK ]�[00m read new file (5 ms)
�[32m[ RUN ]�[00m close file
�[32m[ OK ]�[00m close file (0 ms)
�[32m[ RUN ]�[00m clean up created files
Cleaning up files, directories
Removing: "/fs/var/tmp/test/dir/dir_file.txt"
Removing: "/fs/var/tmp/test/dir/sub"
Removing: "/fs/var/tmp/test/dir/"
Removing: "/fs/var/tmp/test"
�[32m[ OK ]�[00m clean up created files (96 ms)
�[32m[----------]�[00m Ran functional_ut_file_manager tests.
�[32m[==========]�[00m 16 asserts in 12 tests ran. (290 ms total)
�[32m[ PASSED ]�[00m All tests passed! |
c8ab7c3
to
3a689bb
Compare
3a689bb
to
92a2a58
Compare
92a2a58
to
d76efca
Compare
- add RUN/OK/FAIL for each test - add summary at the end - measure total execution time - measure execution time for each test
- add test for sd card initializeation - add tests for removing files before and after - add test for closing file at the end
Functionalities have been added to test runner
d76efca
to
47c2d9c
Compare
Kudos, SonarCloud Quality Gate passed! |
Improve hardware tests output to look more like Google Tests
related: #1117