Perform robust unit tests with PyHamcrest

Posted by bob on Aug 9, 2018 8:41 AM EDT
Opensource.com
Mail this story
Print this story

At the base of the testing pyramid are unit tests. Unit tests test one unit of code at a time—usually one function or method. Often, a single unit test is designed to test one particular flow through a function, or a specific branch choice. This enables easy mapping of a unit test that fails and the bug that made it fail. Ideally, unit tests use few or no external resources, isolating them and making them faster. read more

Full Story

  Nav
» Read more about: Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.