aboutsummaryrefslogtreecommitdiff
path: root/.runsettings
blob: e349e01b3fc426b847c288f2a26318d2abf9d049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<!-- https://github.com/JohnnyHendriks/TestAdapter_Catch2/blob/main/Docs/Settings.md -->
<RunSettings>
	<Catch2Adapter>
		<DiscoverCommandLine>--list-tests --verbosity high</DiscoverCommandLine>
		<DiscoverTimeout>300000</DiscoverTimeout>

		<!-- The whole setup relies on Lua Binaries and headers to be located in a folder $(SolutionDir)/_LuaVersions/$(PlatformName)/$(ConfigurationName)
			this is also true for linker input folders, the folder where lanes.lua is copied by the custom build operation, etc.
		-->
		<!-- Environment>
			<LUA_PATH>$(SolutionDir)/_LuaVersions/$(PlatformName)/$(ConfigurationName)</LUA_PATH>
			<LUA_CPATH>$(SolutionDir)/_LuaVersions/$(PlatformName)/$(ConfigurationName)</LUA_CPATH>
		</Environment -->

		<!-- Executable Filename
			Discover filenames with ... (must not include the .exe extension)
			Regex breakdown: ^foo(_(.+))+(p|r|d)(_?(.+))x*$
			- ^foo : find file that starts with foo
			- (_(.+))+ : follows with a number of elements starting with _ (_foo_bar_dll)
			- (r|d|p) : contains a word with one of these letters : r (release), d (debug), p (profile).
			- (_?(.+)): optionally follow with underscores.
			- x*$ end of line
		-->
		<FilenameFilter>UnitTests</FilenameFilter>

		<!-- Enable breaking on failure -->
		<DebugBreak>on</DebugBreak>

		<!-- Combine: A single test executable is started to run multiple test cases. (Single: instance per test case) -->
		<ExecutionMode>Combine</ExecutionMode>

		<!-- Working directory -->
		<WorkingDirectoryRoot>Solution</WorkingDirectoryRoot>
		<WorkingDirectory>.</WorkingDirectory>
	</Catch2Adapter>
</RunSettings>