This explains the White Box Testing which we use to test the internal structure or internal coding of an application or a programming component.
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
I think it is important to note 100% code coverage (“covers each and every line”) does not mean the tests are good tests.
The myth of 100% code coverage
Most of the time 100% code coverage is just a waste of time.
Worst, 100% coverage leaves you without a tool that is helpful for finding places where your tests might be lacking. Code coverage reports can be used to improve tests, but are not an indication of good tests in of itself.
Yep… I can get you 100% code coverage of a bug-laden, exploit-ridden piece of software effortless. It’s a useless measure.