Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interest-is-interesting: link tasks to tests #42

Open
ErikSchierboom opened this issue Oct 22, 2021 · 0 comments
Open

interest-is-interesting: link tasks to tests #42

ErikSchierboom opened this issue Oct 22, 2021 · 0 comments
Labels
x:action/improve Improve existing functionality/content x:knowledge/elementary Little Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:size/medium Medium amount of work x:type/content Work on content (e.g. exercises, concepts)

Comments

@ErikSchierboom
Copy link
Owner

Links the tests for the interest-is-interesting exercise to individual tasks.
If a test is linked to a task, the online editor can show the student which tasks has tests failing.

The tasks for this exercise are found in its instruction.md document.
A task's ID is the number they're prefixed with (so ## 2. Task title has ID 2).

To link a test in the exercise's tests to a task, you add a Task attribute to it, which takes a single int argument representing the task identifier.

For an example what that would look like, see how these tests are linked to these tasks.

@ErikSchierboom ErikSchierboom added x:action/improve Improve existing functionality/content x:knowledge/elementary Little Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:size/medium Medium amount of work x:type/content Work on content (e.g. exercises, concepts) labels Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/improve Improve existing functionality/content x:knowledge/elementary Little Exercism knowledge required x:module/concept-exercise Work on Concept Exercises x:size/medium Medium amount of work x:type/content Work on content (e.g. exercises, concepts)
Projects
None yet
Development

No branches or pull requests

1 participant