Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Saturday, 1 September 2012

Speeding Up Java Unit Testing

The Java Tutorials and Videos web site has published an interesting article titled "Speeding Up Java Test Code". This article explains that there are two distinct areas where we can work to improve the speed of our feedback cycle: code and build. The author shows you how to speed up your Java test code.One of the advice is that you don’t want your test to set up things you’ll never use. Another recommendation is that you should avoid making network calls in your unit tests. More specifically, we should see that the code we’re testing doesn’t access the network because calling the neighbors is a seriously slow conversation. We also want to minimize access to the file system in order to keep our tests fast. Keeping these in mind is a good idea if your feedback loop starts growing too long.

Monday, 21 February 2011

Java Software Quality Analysis

This is an interesting report on Java Software Quality Analysis where Java quality analysis tools ( Coverity, Headway Software, Parasoft, Sonar and XDepend) analyze the same open source project.

http://blog.martinig.ch/conferences/quality-analysis-evening-with-the-java-user-group-lausanne/

Tuesday, 5 October 2010

Junit Java Unit Testing Tool Presentation

Methods & Tools, a free software development magazine available on the web, has published a presentation of JUnit. JUnit is a Java library for unit testing, which has advanced to the de-facto standard in unit testing. By using JUnit, you can assert that methods in your Java code work as designed, without the need to set up the complete application.

Sunday, 29 August 2010

JMeter Load Testing Tool Presentation

An interesting presentation of the load testing tool JMeter has been published by the software development magazine Methods & Tools. Apache JMeter is open source software, a 100% pure Java desktop application designed to (load) test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Friday, 28 May 2010

Contract Tests in JUnit 4

J.B. Rainsberger talked about how contract tests can be used to test the interaction between classes when using a mockist approach to developer testing. He wondered aloud if it would be possible to write these kinds of tests using abstract classes and JUnit 4. The answer is yes, with some caveats, as Ben Rady demonstrates it. You can watch this presentation called "Contract Tests in JUnit 4" on the directory of Java videos and tutorials.