Replies: 1 comment 1 reply
-
@cjdutoit my only argument on this is that you want to work with the operation as a full unit. So when I'm developing an |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose a change in the naming convention of unit tests.
We currently use the convention of:
%Service%
Tests.Exceptions.%Method%
.cs%Service%
Tests.Logic.%Method%
.cs%Service%
Tests.Validations.%Method%
.csI would like to suggest that we change this to the following convention:
%Service%
Tests.%Method%
.Exceptions.cs%Service%
Tests.%Method%
.Logic.cs%Service%
Tests.%Method%
.Validations.csThe proposed convention will logically group the tests together per method on disk / Solution Explorer, making it easy to see and navigate. If we consider all the types off tests, the proposed result could look like this:
instead of
(As the files is sorted alphabetically, we do not quite see the exact order in which we do TDD, so I think it will be more beneficial to see the grouping by method)
Beta Was this translation helpful? Give feedback.
All reactions