New answers tagged testing
1
vote
Where to put interface files for mocking aka what are best practices for organizing interfaces in a C#/.NET Core project with NSubstitute, Moq etc.?
Your first two disadvantages are odd and suggest to me that your whole approach to coding might be different from 'normal'
Disadvantage: Accessing the interface from the class may require tools
like ...
4
votes
Accepted
Where to put interface files for mocking aka what are best practices for organizing interfaces in a C#/.NET Core project with NSubstitute, Moq etc.?
Decisions like this are usually best guided by the Principle of Least Astonishment: What pattern will other developers recognize and understand quickly?
First, C# projects have a very common ...
Top 50 recent answers are included
Related Tags
testing × 1454unit-testing × 463
tdd × 168
integration-tests × 127
java × 76
qa × 65
design × 58
continuous-integration × 52
mocking × 50
acceptance-testing × 48
development-process × 44
c# × 43
programming-practices × 43
python × 40
quality × 39
test-coverage × 37
functional-testing × 34
test-automation × 32
agile × 31
bdd × 31
code-quality × 29
php × 28
theory × 26
design-patterns × 25
architecture × 23