aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-17 18:36:38 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-17 18:36:38 -0600
commitdc27031adc7f81a8bd177c890d354c79d3671f32 (patch)
tree5fe54faf4633e322d64dcd6a011b1e3f564f2152 /README.md
parent02cf98e97df35b3d024d9ade2e80ac348939d29f (diff)
downloadwix-dc27031adc7f81a8bd177c890d354c79d3671f32.tar.gz
wix-dc27031adc7f81a8bd177c890d354c79d3671f32.tar.bz2
wix-dc27031adc7f81a8bd177c890d354c79d3671f32.zip
Add documentation on how to run tests on a VM.
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 25 insertions, 2 deletions
diff --git a/README.md b/README.md
index 30003903..431f7b9c 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,25 @@
1# burn-e2e-tests 1# integration
2burn-e2e-tests - End-to-end tests for WiX bundles, building real installers and running them. 2
3This repo is for building installers, and then executing xunit tests that run them and verify that they worked.
4
5## Running tests
6
7The main focus of these tests is to validate behavior in a real environment.
8Depending on who you talk to, these are integration or system-level or end-to-end (E2E) tests.
9They modify machine state so it's strongly recommended *not* to run these tests on your dev box.
10They should be run on a VM instead, where you can easily roll back.
11
121. Run appveyor.cmd to build everything (the tests will refuse to run).
131. Copy the build\Release\netcoreapp3.1 folder to your VM.
141. Open a command prompt and navigate to the netcoreapp3.1 folder.
151. Run the runtests.cmd file to run the tests.
16
17You can modify the runtests.cmd to run specific tests.
18For example, the following line runs only the specified test:
19
20> dotnet test --filter WixToolsetTest.BurnE2E.BasicFunctionalityTests.CanInstallAndUninstallSimpleBundle WixToolsetTest.BurnE2E.dll
21
22The VM must have:
231. x64 .NET Core SDK of 5.0 or later (for the test runner)
241. Any version of .NET Framework (for the .NET Framework TestBA)
251. x86 .NET Core Desktop Runtime of 5.0 or later (for the .NET Core TestBA) \ No newline at end of file