Author Archives: admin

Mockito with Spy

You work with legacy code. You want to add unit test for it.
You read this Basic unit test with Mockito and still don’t know how to apply with your legacy code.

Or you just want to see example of “spy” in Mockito.

Then, this page is for you.

Continue reading

Run Ant from Maven

You may have one of these needs:

  • You or your team have to use Ant but you are have Maven and do not want everyone to config Ant on their local computer.
  • You want to just ‘mvn install’ and let Maven does Ant tasks.

Then this page is for you.

Continue reading