Some frameworks provide a way to “skip” tests in code, or via the command line. Is there any such feature in tinyembeddedtest? Is it possible to skip tests via the command line?
The TinyEmbeddedTest framework is intended to be used with the barebone devices that don’t have a concept of command line (unless you are using semihosting anyway), so it doesn’t support any command-line switches. Instead you can use the Visual Studio GUI to select which of the tests to run.
If you are running tests via the VisualGDB.exe /runtests command line, we could add an option to run specific tests only there as well.
Yes, I am looking to exclude tests when running from the command line (on a build server) with the /runtests option. I’d love it if you added that option!
We have added a new command-line option for filtering tests: /testregex:<regex>.
If the filtering is not working as you expected, please set the VISUALGDB_VERBOSE_OUTPUT environment variable to 1. This will force VisualGDB to show the full test names it matches against the regex.
Will this build and build 2346 be rolled into the general product updates? I wouldn’t want to update the tool and then loose the functionality you guys but in those builds.
Yes, unless the pre-release testing reveals major unsolvable regressions caused by the new feature (highly unlikely in this case), all features added to daily builds will be included in the next upcoming release.