How to ensure that complex methods are covered with tests(rabdullin.com)
submitted by
abdullin(385) 3 years, 3 months ago
We all do unit test coverage to monitor code areas that should be covered with the tests. However, sometimes we need more fine control, than just "Everything should be covered with tests". This could be achieved with NoCodeCoverageAttribute and unit test ensuring that it does not get applied to complex methods.
Link to the open source project that has sample implementation is provided
|category: Patterns
|Views: 5
tags:
Patterns another
Everyones tags:
Your Tags: