Skip to content

Commit d559dbf

Browse files
Copilotbaronfel
authored andcommitted
Update copilot-instructions with dogfood testing approach for CLI changes
Co-authored-by: baronfel <[email protected]>
1 parent bc5d218 commit d559dbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/copilot-instructions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Testing:
1616
- Examples:
1717
- `dotnet test test/dotnet.Tests/dotnet.Tests.csproj --filter "Name~ItShowsTheAppropriateMessageToTheUser"`
1818
- `dotnet exec artifacts/bin/redist/Debug/dotnet.Tests.dll -method "*ItShowsTheAppropriateMessageToTheUser*"`
19+
- To test CLI command changes:
20+
- Build the redist SDK: `./build.sh` from repo root
21+
- Create a dogfood environment: `source eng/dogfood.sh`
22+
- Test commands in the dogfood shell (e.g., `dnx --help`, `dotnet tool install --help`)
23+
- The dogfood script sets up PATH and environment to use the newly built SDK
1924

2025
Output Considerations:
2126
- When considering how output should look, solicit advice from baronfel.

0 commit comments

Comments
 (0)