An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
July 19, 2022 10:30 pm GMT
Original Link: https://dev.to/dadyasasha/unit-testing-isnt-what-you-think-1ij5
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.
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To