Releases: Florin-Popescu/vscode-unity-test-adapter
Releases · Florin-Popescu/vscode-unity-test-adapter
v0.1.4
What's Changed
- Adding enable configuration and per-workfolder configurations by @arlm in #26
- Fixes for 24 and 28 by @jeanbaptistelab in #29
- basic output in case of errors by @Florin-Popescu in #32
- run pre build comand uhm... pre build by @Florin-Popescu in #34
New Contributors
- @arlm made their first contribution in #26
- @jeanbaptistelab made their first contribution in #29
- @Florin-Popescu made their first contribution in #32
Full Changelog: v0.1.3...v0.1.4
Fixed testCaseRegex missing setting
Improved test reporting
What's changed
- Print output of build command if error
- Return code of unity executables hints to number of failed test cases. Do not consider that an error in running the file, but instead onl yif the file threw a signal like segmentation fault.
- Print output of run test executable command if failing to run
- Fixed failed test cases not reported if using Unity fixtures
- Show a failed test case on the line with the failed assert instead of at the line with the test case name
- Report all failed test cases in a file instead of just the 1st one
Full Changelog: v0.1.1...v0.1.2
Expire test results
What's changed
- Invalidate all test results if any extension setting changes
- Invalidate a single test file's results if
- the test's source changes
- the unit under test changes. The current strategy is a unit under test's file name must be a substring of a test file's name.
- Fixed bug where a test would be added multiple times if opened in git diff view
- Small code cleanup
Full Changelog: v0.1.0...v0.1.1
Update to native vscode Test API
Major update to the extension to use the vscode Test API instead of the previous Test Explorer extension.
What's Changed
- Migrated existing extension functionality to native vscode Test API #12. Linking a test to its UUT or other new functionalities not implemented.
- Implemented #15 as hard coded command for running a single test.
- Bump qs from 6.10.1 to 6.11.0 by @dependabot in #18
- Bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #19
- Bump markdown-it and vsce by @dependabot in #20
Full Changelog: v0.0.7...v0.1.0
Minor bugfix
Fixed regex used to determine test failure under CMock, according to #10.
Improved extension settings flexibility
Better flexibility for extension settings:
unitUnderTestFileRegex
andtestSourceFileRegex
are now matched against full paths for the files, while previously they were only matched against file names. This now allows to match against/exclude subfolders too.- replaced
testExecutableFolder
withtestBuildTargetRegex
andtestExecutableRegex
since on some build systems the target called to build a test may not be the same as the executable for that test. Instead, these 2 regexes can be used to translate the test source file name into both items independent of one another.
More general settings
Made improvements to setting names and handling to make the extension more flexible.