March 11th, 2015

It's a Learning Experience

As I continue to work on the mass of Java code that I've developed, the next step is to consider writing some JUnit unit tests. Or perhaps, more than just consider it, because they're really going to be necessary.

Fortunately, the Job/Task pair of related classes makes an excellent tackling dummy for learning how to do this, as they're pretty much completely isolated from the rest of the world, so they don't need much to make them run.

Except that I need a WorkManager to actually run the Job. And for that, I have to get the JUnit unit test to run inside of WebLogic. Eep!

Today, I spent some time figuring out how to run the JUnit tests inside of JDeveloper using the built-in support there. That seems to be going well, in that the tests actually ran and succeeded and produced the success / failure report that I was supposed to see.

It looks like I may be able to set up the WebLogic bits by using the Apache Jakarta Cactus package.

Which is tomorrow's problem.

In the meantime, I think I'll go find daisy_knotwise and watch Agents of SHIELD. :)