dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 4 forks source link

Rename "value" to "expected_value" for outputs #404

Closed pdawyndt closed 11 months ago

pdawyndt commented 11 months ago

We may make the difference that test suites specify the given value (value) for an input and the expected value (expected_value) for an output. This makes it clearer that outputs have an expected value as specified in the test suite and a generated value as obtained by running the main call, statement or expression.

pdawyndt commented 11 months ago

We can close this issue if we want to apply the "short is better than long" convention in TESTed-DSL. We also use return instead of return_value, or stdout instead of standard_output.

niknetniko commented 11 months ago

We can close this issue if we want to apply the "short is better than long" convention in TESTed-DSL.

I think we do want to apply this convention here, because we should then for consistency probably also prefix a lot of other stuff (like return, stdout, stderr, exit_code) with expected.