unit testing - Best way to automate the verification of hundreds of standalone Java programs? -


i'm teaching assistant java course, , part of job grade ~100 java programming assignments each week, each consisting of 3-5 standalone java programs. students provided skeletal framework each problem (which makes names of packages/classes/methods identical), , have fill in logic methods.

i wondering best way verify such submissions correctness, perhaps using junit (or similar frameworks) coupled script? before went ahead , did that, wanted know if there better approaches set system, change test cases (and corresponding class/method names) , able execute entire set of assignments?

i'm looking pointers framework can this, though more welcome detailed solutions/similar instances of implemented framework!

i think might via subversion. separate directory per assignment. students check in when they're ready, triggers junit test run.

i'm not sure can away without writing code yourself. unit test have figure out code it's running, , run etc. not sure if doing in unit test, or have jenkins better though.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -