Skip to content

Commit

Permalink
#1198 renamed unittests to comply to naming convention
Browse files Browse the repository at this point in the history
This is part of the allReady issue #1198
  • Loading branch information
bmaluijb committed Oct 27, 2016
1 parent cf74c3e commit 31e8336
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion development-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,25 @@ A query message should end with "Query" and describe the data it returns. e.g.
The handlers should match the query message name with the suffix of "Handler". e.g.

- EventSummaryQueryHandler
- TaskDetailQueryHandler
- TaskDetailQueryHandler

### Unit Tests - Naming Conventions

**Controller unit tests:**

A controller unit test should be named as follows:

- "Controllername" ControllerTests

So, for instance: AdminControllerTests or GlobalControllerTests

**Any other unit tests:**

Any other unit tests should be named descriptevelit and end in "Should".

Some examples:
- DataReaderExtensionsShould
- FormFileExtensionShould
- ApplicationUserQueryShould


0 comments on commit 31e8336

Please sign in to comment.