Unit Testing Myths and Practices

January 18, 2012 0

Why so few organizations maintain unit tests for their in-house applications? This article discusses the two assertions that unit testing saves money by discovering bugs earlier and that it reduces the number of bug in the application. Despites the provocative title, the article provides some evidence that unit testing can play a critical role to help delivering applications. Its  goal is to challenge the premise that writing unit tests is always a wise practice in all contexts. The conclusion is that you can not rely on a general acceptance of the myth that unit testing is a universal panacea, but you need to focus unit testing on aspects of development where it is most effective and be prepared to actively justify its use.

Testing a Java EE Container with Mockito and Arquillian

January 17, 2012 0

The testing strategy to adopt when you you run your code inside a Java EE container is the topic discussed in this blog post by Antonio Goncalves. To solve this issue, he presents a detailed step by step process to unit test an EJB with Mockito and how to do integration test with and without Arquillian with code samples. His conclusion is that since Java EE 6 it is now easy to use container and services in an embedded mode. Unit testing is good to test business code or code in isolation (mocking external components) but you have to remember that you should also use integration testing to test code interacting with external components or services.

Extreme Unit Testing

January 13, 2012 0

eXtreme programming is an Agile software development methodologies. It involves extremely short incremental release cycles, early and frequent testing, heavy use of design refactoring, and pair programming. This article proposes a process model called “ordered incremental testing” where guidance on test order is provided. Testing is conducted iteratively with very short iteration cycles as a single class is developed. Although early and frequent testing is very important, there is little guidance about specifics of the testing process.

Unit Testing on iOS

January 10, 2012 0

This video presents the basics for getting OCUnit/SenTest set up on new and existing projects, including running those tests from the command line. For the fans of Rspec style specs, it presents briefly Kiwi, which wraps the built in testing framework with a block-based syntax.

Testing JavaScript with JSTestDriver

January 9, 2012 0

Js-test-driver is an open source JavaScript unit tests runner written in Java. The project was started at Google and is under active development. This article provides a step by step process on how to JSTestDriver to write tests for Javascript. This article starts with an overview of the tool architecture before explaining its configuration, how to run js-test-driver from the command line and how to run it from Eclipse. The main part shows how to write tests and presents the most important features of js-test-drivers. Debugging of tests in Firefox and Chrome is also discussed.

Software Testing Premature Funeral

January 3, 2012 0

In this blog post, Rob van Steenbergen  add his humorous input to the current debate about the death of software testing. He mentions a lot of reasons why we should stop testing like: * a user will follow the manual strictly * a user will do no strange things with the software * a user will not make mistakes using the software Find many other reasons of this type in his blog.

Unit Testing and Mocking Tools Directory

December 15, 2011 0

The Unit Testing and Mocking Tools Directory presents a list of unit testing and mocking tools, both open source and commercial, for the main programming languages (Java, .NET, ruby, etc). It contains also a list of resources associated to this topic. Visit http://www.unittestingtools.com/

1 148 149 150 151 152 180