Re:Software Testing Anti-patterns
by UK-Al05 on Sunday April 22, 2018 @08:31AM
(#16895888)
I thought we got past the idea that a unit is a method or class.
The original interpretation means a unit of behaviour. When you start thinking like that, intergration tests become less important. But still important.
The idea that a unit in unit testing was a class was a misinterpretation.
Re:Software Testing Anti-patterns
by kalecserk on Sunday April 22, 2018 @09:42AM
(#16896127)
Totally agree, and this misinterpretation got crystallized into your tools that often recommend/generate tests that are named TestSubjectClassNameTest->eachMethodTest.
We have to pay attention to that ;)
The original interpretation means a unit of behaviour. When you start thinking like that, intergration tests become less important. But still important.
The idea that a unit in unit testing was a class was a misinterpretation.