JSR:352 Unit testing Java Batch Code?
<p>Can we use JUnit to test java batch jobs? Since Junit runs locally and java batch jobs run on the server, i am not sure how to start a job (i tried using using the JobOperator class) from JUnit test cases.</p>

<p>If JUnit is not the right tool, how can we unit test java batch code.</p>

<p>I am using using IBM's implementation of JSR 352 running on WAS Liberty </p>