Skip to content

Test Runner v3 to include Practice Exercises? #1029

@depial

Description

@depial

We've just implemented v3 of the test runner, but it currently only gives added functionality to Concept exercises. From what I see in the online editor, it appears to link the output of a test with the instructions of that task, not the hints as I had thought (which are in the instructions). I assume this means it could indeed be implemented appropriately in Practice exercises as @colinleach suggested here.

In case I've managed to understand v3 correctly, and we would want to move in that direction eventually, I've prepared an alternate version of the test runner (currently a draft) which uses a different mechanism for differentiating between practice and concept exercises, namely by including a const definition in the concept exercises' runtests.jl.

Just a reminder that we have to differentiate between the two types due to the difference in how the online editor reports failures, by default, more verbose with practice exercises and less with concepts.

I don't think this is a high priority, since we have bigger fish to fry, but the switch would be a rather simple one if/when we want to make it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions