Testing Newsletter - 2012/02
Follow this monthly newsletter by using a dedicated RSS channel
.
You will find much more about testing in my book
"Practical Unit Testing
with TestNG and Mockito"
Welcome to the 2012/02 issue of a monthly newsletter devoted to developers testing tools and trends in the JVM world.
Let us see what important things happened in January 2012.
Articles, Blogs, Discussions & How-Tos
- Antonio Gonzalves frustration with unit tests expressed in this blog post http://agoncal.wordpress.com/2012/01/16/wytiwyr-what-you-test-is-what-yo...
- Sometimes it is not the article that is worth your attention but the discussion that follows it. An example of such case is here (interesting discussion on redesigning for testing purposes): http://java.dzone.com/articles/shoud-you-change-your-design
- Two interesting posts about database testing http://blog.schauderhaft.de/2012/01/15/tipps-for-testing-database-code/ and http://www.softwaretestinghelp.com/database-testing-test-data-preparatio...
- Working with OSGi and wondering how to test it? See this http://iocanel.blogspot.com/2012/01/advanced-integration-testing-with-pa... (watch out: advanced level) and also this (for Apache Camel users) http://www.dzone.com/links/r/unit_testing_osgi_blueprint_with_apache_cam...
- Good introduction to mutation testing by Filip van Laenen http://www.slideshare.net/filipvanlaenen/mutation-testing-11298526
- Android testing using IntelliJ IDEA? Here you go: http://www.canoo.com/blog/2012/01/12/android-testing-in-intellij-idea/ (by Hamlet D'Arcy)
- Fault injection testing with Byteman? Alternative to mocking? My head is not big enough to understand it but I will add these fancy terms to my CV anyway :) https://community.jboss.org/wiki/FaultInjectionTestingWithByteman#top
New Tools, New Releases & New Tutorials
Testing & Mocking Frameworks
- Ver. 0.4 of JUnit Params by Paweł Lipiński http://code.google.com/p/junitparams/ released. This project brings parametrized tests to JUnit (which makes it almost as good as TestNG!).
- Read about a new mocking framework - Mockarro - by Marek Dec. Based on Mockito. http://groups.google.com/group/mockito/browse_thread/thread/a9dc80248f2c... http://code.google.com/p/mockarro/ http://marekdec.wordpress.com/2012/01/30/mockarro-tdd-example/ Ah, the progress never stops. :)
- PowerMock 1.4.11 released http://powermock.googlecode.com/svn/trunk/changelog.txt - mostly upgrades of other libraries (Mockito, EasyMock, TestNG) but also other stuff.
- Presentation on writing literate specifications with specs2 http://mmakowski.com/wiki/tech:test_of_github_as_a_tutorial_hosting_plat... Also realized in unique way - as a series of well-commented github commits.
- How to reuse JBehave stories - running same stories against different implementation (http and JMS) http://www.mail-archive.com/user@jbehave.codehaus.org/msg01043.html
- For those planning to test Android with EasyMock or Mockito please read this http://jira.codehaus.org/browse/EASYMOCK-108 and this http://code.google.com/p/mockito/issues/detail?id=308
- PIT mutation testing new release 0.25 http://pitest.org/posts/2012/01/20/release_0.25/ - TestNG support and much more
- Dynamic changes in ScalaTest - few releases in January 2012, and a lot of changes - see http://groups.google.com/group/scalatest-users/browse_thread/thread/f772...
Selenium
- Selenium moving forward with 2.1.8 release: http://selenium.googlecode.com/svn/trunk/java/CHANGELOG
- For those planning to write Selenium tests - maybe use this maven archetype? https://github.com/sebarmeli/Selenium2-Java-QuickStart-Archetype (not surprised it uses TestNG which is very well suited for integration and end2end tests)
Performance Testing
- New releases of Grinder 3.7 http://sourceforge.net/mailarchive/forum.php?thread_name=4F12E282.700010... and 3.7.1 http://sourceforge.net/mailarchive/forum.php?thread_name=4F242035.90104%...
- A nice list of JMeter features which make it a good choice for performance testing: http://xebee.xebia.in/2012/01/20/why-to-choose-jmeter-for-performance-te...
Integration & End-to-end Testing
- Arquillian with NetBeans, GlassFish embedded, JPA and a MySQL Datasource http://www.javacodegeeks.com/2012/01/arquillian-with-netbeans-glassfish....
- jeeunit 0.9.1 released http://code.google.com/p/jeeunit/wiki/News (offers better Weld SE support)
- Cargo 1.2.0 released http://docs.codehaus.org/pages/viewpage.action?pageId=228178866 A lot of new goodness added to this already great project!
If you happen to author a testing-related tool or wrote interesting article, and would like to be mentioned in the newsletter, please contact me by mail.
See you next month!
Thank you, this is the end of Testing Newsletter 2012 / 02 issue.
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.