From caf8db4bdeddf290141ab3255571ed1aab5bea6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teguayco=20Guti=C3=A9rrez?= Date: Mon, 20 Nov 2023 16:21:26 +0100 Subject: [PATCH 1/4] Set stopOnFail flag for Lombiq.Tests.UI.Samples --- Lombiq.Tests.UI.Samples/xunit.runner.json | 2 +- Lombiq.Tests.UI/Docs/Configuration.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI.Samples/xunit.runner.json b/Lombiq.Tests.UI.Samples/xunit.runner.json index 07f35a639..633a63291 100644 --- a/Lombiq.Tests.UI.Samples/xunit.runner.json +++ b/Lombiq.Tests.UI.Samples/xunit.runner.json @@ -2,5 +2,5 @@ "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", "parallelizeAssembly": false, "parallelizeTestCollections": true, - "maxParallelThreads": 3 + "stopOnFail": true } diff --git a/Lombiq.Tests.UI/Docs/Configuration.md b/Lombiq.Tests.UI/Docs/Configuration.md index f4d6700f6..6caa78254 100644 --- a/Lombiq.Tests.UI/Docs/Configuration.md +++ b/Lombiq.Tests.UI/Docs/Configuration.md @@ -20,6 +20,8 @@ Note that since the tests are xUnit tests you can configure general parameters o ``` +Note also that some projects may included the flag [stopOnFail](https://xunit.net/docs/configuration-files#stopOnFail) set to `true`, which makes further tests stop once failing test is encountered. + Certain test execution parameters can be configured externally too, the ones retrieved via the `TestConfigurationManager` class. All configuration options are basic key-value pairs and can be provided in one of the two ways: - Key-value pairs in a _TestConfiguration.json_ file. Note that this file needs to be in the folder where the UI tests execute. By default this is the build output folder of the given test project, i.e. where the projects's DLL is generated (e.g. _bin/Debug/net6.0_). From 815833907edb956ba38cf9cdc02cbea156592fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teguayco=20Guti=C3=A9rrez?= Date: Mon, 20 Nov 2023 16:27:45 +0100 Subject: [PATCH 2/4] Update Configuration.md --- Lombiq.Tests.UI/Docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI/Docs/Configuration.md b/Lombiq.Tests.UI/Docs/Configuration.md index 6caa78254..c8de4040d 100644 --- a/Lombiq.Tests.UI/Docs/Configuration.md +++ b/Lombiq.Tests.UI/Docs/Configuration.md @@ -20,7 +20,7 @@ Note that since the tests are xUnit tests you can configure general parameters o ``` -Note also that some projects may included the flag [stopOnFail](https://xunit.net/docs/configuration-files#stopOnFail) set to `true`, which makes further tests stop once failing test is encountered. +Note also that some projects may included the flag [stopOnFail](https://xunit.net/docs/configuration-files#stopOnFail) set to `true`, which makes further tests stop once a failing test is encountered. Certain test execution parameters can be configured externally too, the ones retrieved via the `TestConfigurationManager` class. All configuration options are basic key-value pairs and can be provided in one of the two ways: From ed46796e2dc08ca7f4d46dec88faaaba3cf0a897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teguayco=20Guti=C3=A9rrez?= Date: Tue, 21 Nov 2023 11:21:23 +0100 Subject: [PATCH 3/4] Update Lombiq.Tests.UI/Docs/Configuration.md Co-authored-by: Szabolcs Deme <80963259+DemeSzabolcs@users.noreply.github.com> --- Lombiq.Tests.UI/Docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI/Docs/Configuration.md b/Lombiq.Tests.UI/Docs/Configuration.md index c8de4040d..a5291028a 100644 --- a/Lombiq.Tests.UI/Docs/Configuration.md +++ b/Lombiq.Tests.UI/Docs/Configuration.md @@ -20,7 +20,7 @@ Note that since the tests are xUnit tests you can configure general parameters o ``` -Note also that some projects may included the flag [stopOnFail](https://xunit.net/docs/configuration-files#stopOnFail) set to `true`, which makes further tests stop once a failing test is encountered. +Note also that some projects' _xunit.runner.json_ files may include the flag [stopOnFail](https://xunit.net/docs/configuration-files#stopOnFail) set to `true`, which makes further tests stop once a failing test is encountered. Certain test execution parameters can be configured externally too, the ones retrieved via the `TestConfigurationManager` class. All configuration options are basic key-value pairs and can be provided in one of the two ways: From a2a7a5595b7283a33e8bdd22a5905643c7518ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teguayco=20Guti=C3=A9rrez?= Date: Tue, 21 Nov 2023 11:22:04 +0100 Subject: [PATCH 4/4] Update xunit.runner.json --- Lombiq.Tests.UI.Samples/xunit.runner.json | 1 + 1 file changed, 1 insertion(+) diff --git a/Lombiq.Tests.UI.Samples/xunit.runner.json b/Lombiq.Tests.UI.Samples/xunit.runner.json index 633a63291..3df5bfd1a 100644 --- a/Lombiq.Tests.UI.Samples/xunit.runner.json +++ b/Lombiq.Tests.UI.Samples/xunit.runner.json @@ -2,5 +2,6 @@ "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", "parallelizeAssembly": false, "parallelizeTestCollections": true, + "maxParallelThreads": 3, "stopOnFail": true }