Same test program using autograde and on

Can anybody point to an example repository that will autograde when students check in their code and also allows them to run the same test program when on I can get a Java repository to autograde in github classroom through JUnit5. But I cannot get that same test program to run on

I figured it out. If you want to see answer go to:


What parameters did you use when filling in these two screens?
Screen Shot 2020-07-31 at 10.57.46 AM

… and this one?

Screen Shot 2020-07-31 at 10.58.03 AM

I have been getting my cloned repos to run by adding run = ‘sh’ as my run command instruction and then creating a root file containing something like this:

cd ‘Concentration’/src
javac *.java
java PlayGame

I don’t fill in the box but I create a .replit file in the repository that says:
language = “java”
run = “export CLASSPATH=”.:/run_dir/junit-4.12.jar:/run_dir/hamcrest-core-1.3.jar:/run_dir/json-simple-1.1.1.jar:./jars/*";javac *.java; java Main"

However, I basically gave up on junit5 and went back to using junit4 which I know how to use. So, now, I have a much better example of everything now at saronson/labTemplate. If you look at the I give very explicit instructions on how to get everything working. Hope that helps.


Steve, that worked - THANK YOU!

© 2017 GitHub, Inc.
with by
GitHub Education