diff --git a/AGENTS.md b/AGENTS.md index 2688f30..2cbdc77 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -430,4 +430,4 @@ Invoke agents in issues and pull requests by mentioning them: @copilot[project-maintainer] Please triage recent issues and suggest priorities. ``` -See `.github/agents/README.md` for detailed information about the agents and their capabilities. +For detailed information about each agent, see their individual files in the `.github/agents/` directory. diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 2090b31..6badbf7 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -39,11 +39,10 @@ Represents a single test result. Key properties: - `Outcome`: The test outcome (see `TestOutcome` enum) - `Duration`: Test execution duration - `StartTime`: When the test started -- `EndTime`: When the test finished - `ErrorMessage`: Error message if the test failed - `ErrorStackTrace`: Stack trace if the test failed -- `StdOut`: Standard output captured during test execution -- `StdErr`: Standard error output captured during test execution +- `SystemOutput`: Standard output captured during test execution +- `SystemError`: Standard error output captured during test execution #### `TestOutcome` diff --git a/README.md b/README.md index 5a7c98f..2057637 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,7 @@ results.Results.Add( CodeBase = "MyTestAssembly", Outcome = TestOutcome.Passed, Duration = TimeSpan.FromSeconds(1.5), - StartTime = DateTime.UtcNow, - EndTime = DateTime.UtcNow.AddSeconds(1.5) + StartTime = DateTime.UtcNow }); results.Results.Add( @@ -112,7 +111,7 @@ var result = new TestResult ClassName = "MyTests", CodeBase = "MyAssembly", Outcome = TestOutcome.Passed, - StdOut = "Debug information\nTest completed successfully" + SystemOutput = "Debug information\nTest completed successfully" }; ``` @@ -127,7 +126,7 @@ var failedResult = new TestResult Outcome = TestOutcome.Failed, ErrorMessage = "Assertion failed: Expected 100, got 50", ErrorStackTrace = "at MyTests.FailingTest() in Tests.cs:line 42", - StdErr = "Additional error details" + SystemError = "Additional error details" }; ``` diff --git a/src/DemaConsulting.TestResults/DemaConsulting.TestResults.csproj b/src/DemaConsulting.TestResults/DemaConsulting.TestResults.csproj index 46046e7..13dfbd3 100644 --- a/src/DemaConsulting.TestResults/DemaConsulting.TestResults.csproj +++ b/src/DemaConsulting.TestResults/DemaConsulting.TestResults.csproj @@ -13,8 +13,8 @@ https://github.com/demaconsulting/TestResults MIT README.md - tests;trx - Test Results Library + tests;trx;junit;test-results + A lightweight C# library for programmatically creating test result files in TRX and JUnit formats Copyright DEMA Consulting Test Results Library DEMA Consulting diff --git a/src/DemaConsulting.TestResults/TestResult.cs b/src/DemaConsulting.TestResults/TestResult.cs index f0dbbba..99ff07c 100644 --- a/src/DemaConsulting.TestResults/TestResult.cs +++ b/src/DemaConsulting.TestResults/TestResult.cs @@ -66,12 +66,12 @@ public sealed class TestResult public TimeSpan Duration { get; set; } = TimeSpan.Zero; /// - /// Gets or sets the stdout output when execution the test case + /// Gets or sets the stdout output when executing the test case /// public string SystemOutput { get; set; } = string.Empty; /// - /// Gets or sets the stderr output when execution the test case + /// Gets or sets the stderr output when executing the test case /// public string SystemError { get; set; } = string.Empty;