[Two Bucket]: Update Test Generation Template To Accommodate New Tests #2916
Labels
claimed 🐾
For new exercises being written by contributors and maintainers.
improve exercise 💖
x:action/fix
Fix an issue
x:knowledge/intermediate
Quite a bit of Exercism knowledge required
x:module/practice-exercise
Work on Practice Exercises
x:size/medium
Medium amount of work
x:status/claimed
Someone is working on this issue
x:type/content
Work on content (e.g. exercises, concepts)
Recently, we updated the
Two Bucket
exercise to incorporate new tests from the problem-specifications repo. Unfortunately, these new tests have broken test generation for the exercise, and had to be skipped in the tests.toml file.We need to:
bin/generate_tests.py
is failing fortwo-bucket
when the three tests are included.The three tests are:
[449be72d-b10a-4f4b-a959-ca741e333b72]
description = "Not possible to reach the goal"
include = false
[aac38b7a-77f4-4d62-9b91-8846d533b054]
description = "With the same buckets but a different goal, then it is possible"
include = false
[74633132-0ccf-49de-8450-af4ab2e3b299]
description = "Goal larger than both buckets is impossible"
include = false
two-bucket
JinJa2 templatetwo-bucket
by runningbin/generate_tests.py two-bucket
two-bucket
example.py file passes all the re-generated tests.example.py
if there are any test failures.This task requires knowledge of (or interest in learning):
JinJa2 templating
JinJa2 docs (the version we use)
The Python Test Generator
The text was updated successfully, but these errors were encountered: