aboutsummaryrefslogtreecommitdiff
path: root/.runsettings
diff options
context:
space:
mode:
Diffstat (limited to '.runsettings')
-rw-r--r--.runsettings37
1 files changed, 37 insertions, 0 deletions
diff --git a/.runsettings b/.runsettings
new file mode 100644
index 0000000..f2be6f5
--- /dev/null
+++ b/.runsettings
@@ -0,0 +1,37 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- https://github.com/JohnnyHendriks/TestAdapter_Catch2/blob/main/Docs/Settings.md -->
3<RunSettings>
4 <Catch2Adapter>
5 <DiscoverCommandLine>--list-tests --verbosity high</DiscoverCommandLine>
6 <DiscoverTimeout>300000</DiscoverTimeout>
7
8 <!-- The whole setup relies on Lua Binaries and headers to be located in a folder $(SolutionDir)/Binaries/$(PlatformName)/$(ConfigurationName)
9 this is also true for linker input folders, the folder where lanes.lua is copied by the custom build operation, etc.
10 -->
11 <Environment>
12 <LUA_PATH value="$(SolutionDir)/Binaries/$(PlatformName)/$(ConfigurationName)" />
13 <LUA_CPATH value="$(SolutionDir)/Binaries/$(PlatformName)/$(ConfigurationName)" />
14 </Environment>
15
16 <!-- Executable Filename
17 Discover filenames with ... (must not include the .exe extension)
18 Regex breakdown: ^foo(_(.+))+(p|r|d)(_?(.+))x*$
19 - ^foo : find file that starts with foo
20 - (_(.+))+ : follows with a number of elements starting with _ (_foo_bar_dll)
21 - (r|d|p) : contains a word with one of these letters : r (release), d (debug), p (profile).
22 - (_?(.+)): optionally follow with underscores.
23 - x*$ end of line
24 -->
25 <FilenameFilter>UnitTests</FilenameFilter>
26
27 <!-- Enable breaking on failure -->
28 <DebugBreak>on</DebugBreak>
29
30 <!-- Combine: A single test executable is started to run multiple test cases. (Single: instance per test case) -->
31 <ExecutionMode>Combine</ExecutionMode>
32
33 <!-- Working directory -->
34 <WorkingDirectoryRoot>Solution</WorkingDirectoryRoot>
35 <WorkingDirectory>.</WorkingDirectory>
36 </Catch2Adapter>
37</RunSettings> \ No newline at end of file