Testing Newsletter - October 2011
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 October 2011 issue of a monthly newsletter devoted to developers testing tools and trends in the JVM world.
So, let us see what important things happened in October 2011.
Testing Frameworks
- A very good introduction to various JUnit 4.9 features http://blog.interlinked.org/programming/in_the_beginning_was_the_test.html
- Is Spock a good choice for unit tests? This blog post presents how to achieve BDD, expected exceptions testing, parametrization and mocking with Spock. See http://www.denoo.info/2011/10/a-look-at-spock-as-junit-replacement/
- Spock had two sessions on http://www.springone2gx.com/ SpringOne 2GX conference. Go Spock, Go! :)
- Some news on Maven ScalaTest Plugin http://groups.google.com/group/scalatest-users/browse_thread/thread/608d...
- Version 1.3 of easyb-maven-plugin http://www.easyb.org/maven-easyb-plugin/ released http://groups.google.com/group/easyb-users/browse_thread/thread/1e562679...
Mocking Frameworks
- First gossips about the incoming Mockito book http://groups.google.com/group/mockito/browse_thread/thread/865e95df4b15... Stay tuned! :)
- Good discussion on how to deal with
new
operator within tested method http://groups.google.com/group/mockito/browse_thread/thread/ef0617e3fda6...
- New 0.999.11 release http://jmockit.googlecode.com/svn/trunk/www/changes.html ...they will hit 1.0 someday, won't they? ;)
Integration / Functional Testing
- An important release 1.1.3 is here http://old.nabble.com/CARGO-1.1.3-now-available-td32599477.html It offers support for Jetty 8, some improvements for JBoss 6.1 and JBoss 7, and many more. Enjoy!
- An explanation of
wait
andstart
commands to clear some confusion around them http://old.nabble.com/...-did-you-know-about-the-cargo%3Arun-Maven-MOJO-...
- Two selenium releases this month: 2.8 http://seleniumhq.wordpress.com/2011/10/06/selenium-2-8-released/ and 2.9 http://seleniumhq.wordpress.com/2011/10/20/selenium-2-9-released/ right after it. The changelog is here http://code.google.com/p/selenium/source/browse/trunk/java/CHANGELOG
- soapUI 4.0.1 plugin released http://www.soapui.org/soapUI-News/soapui-401-plugins-are-now-available.html
- A bugfix release (2.5.1) of JMeter, see announement at http://mail-archives.apache.org/mod_mbox/jakarta-announcements/201110.mb...
- Version 3.6 released http://sourceforge.net/mailarchive/forum.php?thread_name=4E9409EA.708030...
- Release of 0.4.0 version of OSGi Helper library ("pretty simple library providing useful methods for OSGi integration-tests"). See http://wiki.chameleon.ow2.org/xwiki/bin/view/Main.Testing/OSGi_Helpers and http://blog.akquinet.de/2011/10/09/simplify-osgi-application-tests-with-...
Articles, Blogs, Discussions
- Interesting blog post on soft asserts with TestNG and Selenium http://seleniumexamples.com/blog/guide/using-soft-assertions-in-testng/
- Going back to the basics - once again on what are unit tests http://blog.goyello.com/2011/10/06/three-pillars-of-unit-tests/
- Interesting discussion on what is better - testing or code reviews? http://kev.inburke.com/kevin/the-best-ways-to-find-bugs-in-your-code/
- Third and fourth installment of "Effective Mockito", see http://eclipsesource.com/blogs/tag/mockito/.
- Testing JBMP Drools rules with Junit 4 and Mockito http://blog.athico.com/2011/10/cookbook-how-to-test-rules-using-xunit.html (not using Guvnor)
- Android unit testing with Powermock, Mockito and JUnit http://java.dzone.com/articles/android-unit-testing
- Using PowerMock to test private methods in order to save some time during tests http://java.dzone.com/articles/why-use-powermock-mock-private Worth reading, because this is not a "I can therefore I will" approach to testing of private methods.
- Introduction to Selenium IDE http://blogs.lessthandot.com/index.php/WebDev/UIDevelopment/automated-we... Read only if you have never used it before.
- Maven Cargo Plugin in the action. Basic stuff, but well written. http://www.baeldung.com/2011/10/16/how-to-set-up-integration-testing-wit...
- Testing Play frameworks with jWebUnit and asynch Ajax http://nesbot.com/2011/10/16/play-framework-sample-app-JWebUnit-synchron...
- Not strictly a testing tool, but surely might be very handy: Byteman http://community.jboss.org/wiki/ABytemanTutorial
- 49 people so far has filled in a short TestNG users survey at http://tinyurl.com/testng-survey-2011-q4 giving the community some interesting feedback on why and how we use TestNG. Results to be published soon on TestNG mailing list and my blog. :)
See you next month!
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.
Thank you, this is the end of Testing Newsletter October 2011 issue.
I plan to publish the newsletter monthly bringing the news from JUnit, TestNG, Spock, ScalaTest, jBehave, easyb, Mockito, EasyMock, JMock, Powermock, FEST Assertions, Hamcrest, Arquillian, Cargo, Selenium, soapUI, jMeter and many more.
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.
Please fix links to testing
Please fix links to testing frameworks, only JUnit is OK.
Thank you, fixed
Still working on some "process" of creating the newsletter each month. Good to know that copying from google docs might bring some issues.