You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,8 @@
2
2
- Use the latest C# language version available in the project.
3
3
- Ensure all files include the standard license header at the top.
4
4
- When writing unit tests, always use modern NUnit assertions.
5
-
- We use JustMock.Lite, so use only mock configurations that are valid for that package.
5
+
- We use the free version of JustMock (JustMock Lite), so use only mock configurations that are valid for that package.
6
6
- Always include the required usings at the top of the file.
7
+
- Do not use reflection in unit tests to access private members of the class under test.
8
+
- Always add [Teardown] attributes to the test class and test methods, respectively, when the test class uses disposable resources in the [Setup] method.
9
+
- When refactoring code, preserve existing comments and documentation.
0 commit comments