Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Two Critical Tips for Unit Testing in Java : Page 4

There are two issues that often vex Java developers when they attempt to unit test their code. The first one is whether to design their systems in a manner that facilitates testing. The second is how to test non-deterministic code. This article offers helpful tips for handling these dilemmas.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

Unit testing is an important tool for the modern developer, and Java has an abundance of libraries that can help with the development of your tests cases (particularly JUnit, which I will discuss in detail in an upcoming follow-up to this article). Becoming familiar with them all is important because a majority of your projects will require you to use them. Unit tests are fairly easy to write and have very rapid performance, so it's not going to take you long to run them.

Bryan Dollery is an experienced Java trainer and software engineer living in New Zealand. He recently presented papers at three major international software development conferences (in NZ and Australia). Reach him by e-mail at Bryan.Dollery@ChaosEngineers.co.nz.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date