diff --git a/CONTRIBUTINGPLUGINS.MD b/CONTRIBUTINGPLUGINS.MD index 71619fb8..231ba6c5 100644 --- a/CONTRIBUTINGPLUGINS.MD +++ b/CONTRIBUTINGPLUGINS.MD @@ -82,5 +82,5 @@ public static class CoreInterfaceExtensions } ``` -The primary reason to decouple deploying and wrapping functionalities is that some use cases require these steps to be performed by separate applications, and different moments in time. For this reason, whatever is returned by the deploy methods should be serializable. After deserialization at some later time, it should then be valid input for the wrap method. The Codex continuous tests system is a clear example of this use case: The `CodexNetDeployer` tool uses deploy methods to create Codex nodes. Then it writes the returned objects to a JSON file. Some time later, the `CodexContinousTests` application uses this JSON file to reconstruct the objects created by the deploy methods. It then uses the wrap methods to create accessors and interactors, which are used for testing. +The primary reason to decouple deploying and wrapping functionalities is that some use cases require these steps to be performed by separate applications, and different moments in time. For this reason, whatever is returned by the deploy methods should be serializable. After deserialization at some later time, it should then be valid input for the wrap method. The Codex continuous tests system is a clear example of this use case: The `CodexNetDeployer` tool uses deploy methods to create Codex nodes. Then it writes the returned objects to a JSON file. Some time later, the `CodexContinuousTests` application uses this JSON file to reconstruct the objects created by the deploy methods. It then uses the wrap methods to create accessors and interactors, which are used for testing. diff --git a/CONTRIBUTINGTESTS.MD b/CONTRIBUTINGTESTS.MD index 070e192a..bcad8a6d 100644 --- a/CONTRIBUTINGTESTS.MD +++ b/CONTRIBUTINGTESTS.MD @@ -21,7 +21,7 @@ Do you want to write some tests using this distributed test setup? Great! Here's 1. When using the auto-bootstrap, you have no control over the bootstrap node from your tests. You can't (for example) shut it down during the course of the test. If you need this level of control for your scenario, use the `CodexDistTest` instead. 1. If your test needs a long time to run, add the `[UseLongTimeouts]` function attribute. This will greatly increase maximum time-out values for operations like for example uploading and downloading files. ### Continuous tests -1. Add new code files to `Tests/CodexContinousTests/Tests` +1. Add new code files to `Tests/CodexContinuousTests/Tests` 1. Inherrit from `ContinuousTest` 1. Define one or more methods and decorate them with the `[TestMoment(...)]` attribute. 1. The TestMoment takes a number of seconds as argument. Each moment will be executed by the continuous test runner applying the given seconds as delay. (Non-cumulative. So two moments at T:10 will be executed one after another without delay, in this case the order of execution should not be depended upon.) diff --git a/README.md b/README.md index 7b22bd21..0aba7b78 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Nethereum: v4.14.0 These are test assemblies that use NUnit3 to perform tests against transient Codex nodes. Read more [HERE](/Tests/CodexTests/README.md) -## Tests/ContinousTests +## Tests/ContinuousTests A console application that runs tests in an endless loop against a persistent deployment of Codex nodes. Read more [HERE](/Tests/CodexContinuousTests/README.md) diff --git a/Tests/CodexContinuousTests/Program.cs b/Tests/CodexContinuousTests/Program.cs index 3db3b15e..a99dc008 100644 --- a/Tests/CodexContinuousTests/Program.cs +++ b/Tests/CodexContinuousTests/Program.cs @@ -4,7 +4,7 @@ public class Program { public static void Main(string[] args) { - Console.WriteLine("Codex Continous-Test-Runner."); + Console.WriteLine("Codex Continuous-Test-Runner."); var runner = new ContinuousTestRunner(args, Cancellation.Cts.Token); diff --git a/Tests/CodexContinuousTests/reports/CodexTestNetReport-August2023.md b/Tests/CodexContinuousTests/reports/CodexTestNetReport-August2023.md index 2190d3b2..82ea08ad 100644 --- a/Tests/CodexContinuousTests/reports/CodexTestNetReport-August2023.md +++ b/Tests/CodexContinuousTests/reports/CodexTestNetReport-August2023.md @@ -13,7 +13,7 @@ Report for: 08-2023 (Stopped: The number of tests that can successfully run on the test-net is not high enough to justify the cost of leaving it running.) ## Deployment Configuration -Continous Test-net is deployed to the kubernetes cluster with the following configuration: +Continuous Test-net is deployed to the kubernetes cluster with the following configuration: 5x Codex Nodes: - Log-level: Trace diff --git a/Tests/CodexContinuousTests/reports/CodexTestNetReport-July2023.md b/Tests/CodexContinuousTests/reports/CodexTestNetReport-July2023.md index 3bb80d9a..9b48b96d 100644 --- a/Tests/CodexContinuousTests/reports/CodexTestNetReport-July2023.md +++ b/Tests/CodexContinuousTests/reports/CodexTestNetReport-July2023.md @@ -11,7 +11,7 @@ Report for: 07-2023 (Faulted: Tests fail with such frequency that the information gathered does not justify the cost of leaving the test-net running.) ## Deployment Configuration -Continous Test-net is deployed to the kubernetes cluster with the following configuration: +Continuous Test-net is deployed to the kubernetes cluster with the following configuration: 5x Codex Nodes: - Log-level: Trace diff --git a/Tests/CodexContinuousTests/reports/CodexTestNetReport-September2023.md b/Tests/CodexContinuousTests/reports/CodexTestNetReport-September2023.md index 65bc44db..15a6639e 100644 --- a/Tests/CodexContinuousTests/reports/CodexTestNetReport-September2023.md +++ b/Tests/CodexContinuousTests/reports/CodexTestNetReport-September2023.md @@ -11,7 +11,7 @@ Report for: 09-2023 (Stopped: The number of tests that can successfully run on the test-net is not high enough to justify the cost of leaving it running.) ## Deployment Configuration -Continous Test-net is deployed to the kubernetes cluster with the following configuration: +Continuous Test-net is deployed to the kubernetes cluster with the following configuration: 5x Codex Nodes: - Log-level: Trace