eclipse, Java, Unit test

Using logging in your unit test

When running unit test, you are not supposed to be checking the logs, generated by the test framework. One of the first principles of the test driving development paradigm is, that you should be able to run your tests automatically, without any developer interaction. You also should not be forced to check any output besides… Continue reading Using logging in your unit test

Advertisement
Java

Use standard Java APIs instead of reimplementing it

While we are joyfully solving our tasks, we tend to forget, how much help we can get form standard Java API. Before implementing something very exciting, elegant and nice, it is always a useful tactic to stopĀ ourselves, take a big breath, and check if the function is already available somewhere. While making code reviews for… Continue reading Use standard Java APIs instead of reimplementing it