Skip to content

Commit eb0ee0e

Browse files
authored
Merge pull request #6 from bmaluijb/master
#1198 renamed unittests to comply to naming convention
2 parents cf74c3e + 31e8336 commit eb0ee0e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

development-guidelines.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,25 @@ A query message should end with "Query" and describe the data it returns. e.g.
3434
The handlers should match the query message name with the suffix of "Handler". e.g.
3535

3636
- EventSummaryQueryHandler
37-
- TaskDetailQueryHandler
37+
- TaskDetailQueryHandler
38+
39+
### Unit Tests - Naming Conventions
40+
41+
**Controller unit tests:**
42+
43+
A controller unit test should be named as follows:
44+
45+
- "Controllername" ControllerTests
46+
47+
So, for instance: AdminControllerTests or GlobalControllerTests
48+
49+
**Any other unit tests:**
50+
51+
Any other unit tests should be named descriptevelit and end in "Should".
52+
53+
Some examples:
54+
- DataReaderExtensionsShould
55+
- FormFileExtensionShould
56+
- ApplicationUserQueryShould
57+
58+

0 commit comments

Comments
 (0)