-
Notifications
You must be signed in to change notification settings - Fork 0
Apply NuGetCacheTool PR#8 improvements to TemplateDotNetTool #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
48541e1
c4aedde
55dd2cf
f14a112
fa79789
37e5923
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,7 @@ sections: | |
| - Context_Create_VersionFlag_SetsVersionTrue | ||
| - Context_Create_ShortVersionFlag_SetsVersionTrue | ||
| - Program_Run_WithVersionFlag_DisplaysVersionOnly | ||
| - Program_Version_ReturnsNonEmptyString | ||
| - IntegrationTest_VersionFlag_OutputsVersion | ||
|
|
||
| - id: TMPL-REQ-003 | ||
|
|
@@ -96,6 +97,7 @@ sections: | |
| tests: | ||
| - Context_Create_ResultsFlag_SetsResultsFile | ||
| - IntegrationTest_ValidateWithResults_GeneratesTrxFile | ||
| - IntegrationTest_ValidateWithResults_GeneratesJUnitFile | ||
|
|
||
| - id: TMPL-REQ-007 | ||
| title: The tool shall support --log flag to write output to a log file. | ||
|
|
@@ -105,6 +107,35 @@ sections: | |
| - Context_Create_LogFlag_OpensLogFile | ||
| - IntegrationTest_LogFlag_WritesOutputToFile | ||
|
|
||
| - id: TMPL-REQ-013 | ||
| title: The tool shall write error messages to stderr. | ||
| justification: | | ||
| Error messages must be written to stderr so they remain visible to the user | ||
| without polluting stdout, which consumers may pipe or redirect for data capture. | ||
| tests: | ||
| - Context_WriteError_NotSilent_WritesToConsole | ||
| - IntegrationTest_UnknownArgument_ReturnsError | ||
|
|
||
| - id: TMPL-REQ-015 | ||
|
||
| title: The tool shall return a non-zero exit code on failure. | ||
| justification: | | ||
| Callers (scripts, CI/CD pipelines) must be able to detect failure conditions | ||
| programmatically via the process exit code. | ||
| tests: | ||
| - Context_WriteError_SetsErrorExitCode | ||
| - IntegrationTest_UnknownArgument_ReturnsError | ||
|
|
||
| - id: TMPL-REQ-014 | ||
| title: The tool shall reject unknown or malformed command-line arguments with a descriptive error. | ||
| justification: | | ||
| Providing clear feedback for invalid arguments helps users quickly correct | ||
| mistakes and prevents silent misconfiguration. | ||
| tests: | ||
| - Context_Create_UnknownArgument_ThrowsArgumentException | ||
| - Context_Create_LogFlag_WithoutValue_ThrowsArgumentException | ||
| - Context_Create_ResultsFlag_WithoutValue_ThrowsArgumentException | ||
| - IntegrationTest_UnknownArgument_ReturnsError | ||
|
|
||
| - title: Platform Support | ||
| requirements: | ||
| - id: TMPL-REQ-008 | ||
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.trx makes sense, but .xml could be anything, I think people will understand TRX or JUnit better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in fa79789 — changed to "TRX or JUnit format".