Skip to content

Commit

Permalink
Merge pull request #6 from bmaluijb/master
Browse files Browse the repository at this point in the history
#1198 renamed unittests to comply to naming convention
  • Loading branch information
tonysurma committed Oct 27, 2016
2 parents cf74c3e + 31e8336 commit eb0ee0e
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 eb0ee0e

Please sign in to comment.