Skip to content

Conversation

@depial
Copy link
Contributor

@depial depial commented Oct 16, 2025

This implementation of the relevant test runner functions could be of use if both:

  1. Practice exercises start to have itemized hints and/or instructions AND
  2. Concept exercises continue to have limited feedback for failures

Instead of relying on the numbers in @testset names to differentiate between concept and practice exercises, this relies on a defined constant const EXERCISM_CONCEPT_EXERCISE to be defined as true for concept exercises and false for practice exercises in the top level scope of runtests.jl.

Everything else is functionally the same as the current setup implemented in PR #135.

Note: before any merge, the concept exercises in /exercism/julia would require the definition of

const EXERCISM_CONCEPT_EXERCISE = true

in their respective top-level scope of runtests.jl (see /test/fixtures/v3/runtests.jl) in order to maintain their current level of verbosity for failures. However, the lack of this constant is non-breaking and would be optional for practice exercises, since the default when the constant is not defined is to assume false (i.e. practice exercise).

@depial depial marked this pull request as draft October 16, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants