Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 2 additions & 3 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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"
};
```

Expand All @@ -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"
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<PackageProjectUrl>https://github.com/demaconsulting/TestResults</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>tests;trx</PackageTags>
<Description>Test Results Library</Description>
<PackageTags>tests;trx;junit;test-results</PackageTags>
<Description>A lightweight C# library for programmatically creating test result files in TRX and JUnit formats</Description>
<Copyright>Copyright DEMA Consulting</Copyright>
<Title>Test Results Library</Title>
<Authors>DEMA Consulting</Authors>
Expand Down
4 changes: 2 additions & 2 deletions src/DemaConsulting.TestResults/TestResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ public sealed class TestResult
public TimeSpan Duration { get; set; } = TimeSpan.Zero;

/// <summary>
/// Gets or sets the stdout output when execution the test case
/// Gets or sets the stdout output when executing the test case
/// </summary>
public string SystemOutput { get; set; } = string.Empty;

/// <summary>
/// Gets or sets the stderr output when execution the test case
/// Gets or sets the stderr output when executing the test case
/// </summary>
public string SystemError { get; set; } = string.Empty;

Expand Down