Tutorials and resources on how to apply unit testing in software testing
This presentation incrementally demonstrates the concepts of Unit Testing, Test-Driven Development (TDD) and then Behavior-Driven Development (BDD) that enable us not just to create robust regression tests, but also clean and maintainable code.
Tests are supposed to save us money. How is it, then, that many times they become millstones around our necks, gradually morphing into fragile, breakable things that raise the cost of change? We write too many tests and we test the wrong kinds of things.
Software testing is a good thing, right? But how much should we test? What’s not enough? What’s too much? What should we test, and when? This talk looks at the many levels of testing, from the outermost UI tests to unit tests, what works well, what doesn’t work well.
AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. This article written by Andy Shora discusses best practices to peform unit testing and integration testing with AngularJS.
This 50 pages report from the Software Engineering Institute on unit testing and analysis examines the techniques, assessment and management of unit analysis and testing.
In my previous articles, PHP Unit Testing with PHPUnit and Using Mocks and Stubs in PHPUnit, I have showed how to set up PHPUnit and how to get started with unit tests and how to handle mocking and stubbing objects in order to effectively isolate your code under test. This article will explore a few ways to get the most out of your PHPUnit tests.
PyVows is an open source tools that provides asynchronous behaviour driven development for Python. PyVows allows executing the unit tests in parallel when it makes sense, and sequentially when there are dependencies.