Skip to content

TESTed: failed tests with functions #5401

Discussion options

You must be logged in to vote

I think the blame lies 100% with TESTed this time.

There are two factors here:

  • Currently, TESTed expects identifiers (like function names) to be in snake_case in the test suite and will always convert it when executing. That is why AND_poort is converted to ANDPoort, which doesn't exist in the submission. We want to support an override for this behaviour in the future, but are not there yet (dodona-edu/universal-judge#326)
  • When using the language-specific things (e.g. python: "blabla"), you need to manually put the submission module in the string (see dodona-edu/universal-judge#423). So it should be python: "submission.AND_poort(1, 1)". However, this will then also be shown on Dodona, so…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marcothijs
Comment options

Answer selected by marcothijs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants