eXceediDeaL / edl-coderunner

A CLI tool to run code.
Apache License 2.0
1 stars 0 forks source link

Support data test cases #2

Closed StardustDL closed 5 years ago

StardustDL commented 5 years ago

How about use diff to judge program, just like on online judge. ( use judge command )

Maybe add file's unique config, or directory work-item? Like a.c.config or /a/.config

How to organize data is also an important problem.

a/
  data/
    config.json
    input1
    output1
    ...
    judger
eXceediDeaL commented 5 years ago

To improve file support, add these:

These functions need more time to realize. Maybe in version 0.0.3 or 0.0.4, full realization in 0.0.4, the next alpha version.

eXceediDeaL commented 5 years ago

Now this commit add directory support: 1f84cad0f0a729d72e0cc7eac6067f0a6871fe30.

We will not support multi-tests for now, but you can use directory work-item and write your own judging script.

Attention: this feature is pre-alpha, that means it may have bugs and it is not stable enough.

Code review is planning.