Bill Roper (billroper) wrote,
Bill Roper

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. :)
Tags: computers, java, musings, work

  • Taking a Break

    I am taking a break. Not immediately, but I have scheduled some time off from work, because I have not taken more than a day or so off of work since…

  • Dumb Arguments

    The argument du jour appears to be that you don't have the right to criticize someone's decision, because you aren't them and you don't know what…

  • Mostly Oblivious

    I see the occasional report in electronic print, or on the TV, or even on the radio, but other than that, I have completely ignored this year's…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded