vendredi 27 avril 2018

How to implement a server for a python scripts testing system (with stdio)?

Could you advice how to implement server for scripts testing such as like on coursera.

There is input, where pupil attach their script. And next steps is quite foggy for me as I see them:

  1. server get script
  2. server checks extension of script
  3. server runs bash script with testing data(std input), waits for result >> creates output file
  4. output file is compared with solution
  5. server sends response

Is it right? Are there any other solutions?

Aucun commentaire:

Enregistrer un commentaire