Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 19, 2022 10:30 pm GMT

Unit testing isn't what you think

Very interesting video with Ian Cooper explaining the big misunderstanding around the word "unit" in the term "unit test"

He is saying that the word "unit" wasn't about the system under test (i.e., class, method, etc), but was about the test itself. "Unit test" is a test which doesn't depend on any other tests.

Image description

I think I was pondering the same idea when making the title picture regarding the test pyramid and it exactly the same reason why I was working on the Feature test model (https://aqaguy.uk/pages/ta/ftm/feature_tests/) which helps build effective test coverage disregarding of the approach you choose (test-first or test last).

What do you think? Do you agree with Ian's definition of unit testing?


Original Link: https://dev.to/dadyasasha/unit-testing-isnt-what-you-think-1ij5

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To