Unit Testing with AutoFixture
Published February 16th, 2012 Under Unit Testing | Leave a Comment
One of the greatest challenges in writing maintainable unit tests is to avoid so–called Overspecified Tests – i.e. test which are too tightly coupled to implementation details that are actually irrelevant to the test case at hand. A common symptom is that the Test Fixture (the entire context which must be in place before the actual test can be executed) takes up a lot more space than the test itself. Read more
Stubbing Behavior in Java Unit Tests with Mockito
Published February 13th, 2012 Under Unit Testing | Leave a Comment
The tutorial is about creating mock objects and stubbing behavior which are the absolute basics of mocking. Read more
Introduction to Test Driven Development
Published February 7th, 2012 Under Unit Testing | Leave a Comment
Test Driven Development (TDD) is a rhythmic development practice that requires a high level of individual discipline and focuses on using automated tests as a lever to shape not only the quality but the design of the associated production code. TDD is codified through a simple set of steps, often summarised as „red, green, refactor?. Read more
Best Practices to Write First Class Unit Tests
Published January 31st, 2012 Under Unit Testing | Leave a Comment
Techniques such as Test Driven Development, and more recently, Behavior Driven Development are well known. Yet, you still hear conflicting stories about unit testing. Some claim that introducing a lot of unit tests can hamper development, or that those tests are a maintenance problem on itself. To a limited degree I agree, but isn’t that true for all software that is not been well though off? An important reason for this is that unit tests not always seen as being part of the production code. Read more
Test XSLT with XSpec
Published January 12th, 2012 Under Unit Testing | Leave a Comment
Test-driven development is one of the corner stones of Agile development, providing quick feedback about mistakes in code and freeing developers to refactor safe in the knowledge that any errors they introduce will be caught by the tests. There have been several test harnesses developed for XSLT, of which XSpec is one of the latest. Read more
Test First Development with Pex and Moles
Published January 5th, 2012 Under Unit Testing | Leave a Comment
This video provides a demonstration of Pex, a parameterized white box unit test tool, and Moles, an isolation framework. These two tools useful for test-first development in the context of .NET development. Read more
Moving from MBUnit to NUnit
Published December 14th, 2011 Under Unit Testing | Leave a Comment
This video explains the reasons and the effects of moving from MBUnit to NUnit for .NET unit testing. Both tools are open source solutions that belong to the xUnit family of unit testing tools. A post relating the experience of a different company making the same transition can be found here. Read more
« go back — keep looking »
RSS
Twitter
Facebook