ACedIt — testing your code seamlessly

Revision en3, by coderick14, 2017-08-18 09:50:30

Hello everyone. I've been attending contests for a while now. In order to test my code against sample cases, I came up with a command line tool. It runs your code against the sample cases and shows the result (expected output versus user output) and verdict(AC, WA, TLE, RTE). All this without leaving the terminal. I would really appreciate if you try it out and give some feedback so that I can make it better.

You can prefetch your cases so that you can test them later offline. Or just test your code on the fly.

Install with pip install --user ACedIt

Examples
  • acedit -s codeforces -c 86 -p D -f (prefetch cases from problem 86-D)
  • acedit --set-default-site codeforces (so that you dont need to mention the site everytime)
  • acedit --run solve.cpp -c 835 -p D (run your code against the cases of 835-D)
  • acedit --run test.py -s codechef -c AUG17 -p CHEFFA (similar as above, but with Codechef)

For complete usage instructions, click here

Thanks a lot for your time!!

Tags codeforces, codechef, command-line, tool

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English coderick14 2017-08-18 09:50:30 10
en2 English coderick14 2017-08-17 20:39:31 11 Tiny change: 'ithub.com/ACedIt)\n' -> 'ithub.com/coderick14/ACedIt)\n'
en1 English coderick14 2017-08-17 20:20:33 1075 Initial revision (published)