You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python track has a nice bin/generate_tests.py that reads the exercism/problem-specification/exercises/$NAME/canonical-data.json and uses exercises/$NAME/.meta/template.j2 to generate the test script exercises/$NAME/$NAME_test.py.
I would like to see such a mechanism in the Kotlin track as well. So far I wrote a hand full of Kotlin test cases for my previous pull requests just by modifying the Python template.j2 and it worked very well. Especially exercises with 20+ test cases and long descriptions are pain.
Extra points of that script warns if the .meta/version differs from the problem spec and optionally creates/updates version, tests, README.md as needed.
Any thoughts? In case someone would be willing to implement it, where should it go, to configlet, bin/, scripts/, a Gradle task?
The text was updated successfully, but these errors were encountered:
The Python track has a nice
bin/generate_tests.py
that reads theexercism/problem-specification/exercises/$NAME/canonical-data.json
and usesexercises/$NAME/.meta/template.j2
to generate the test scriptexercises/$NAME/$NAME_test.py
.I would like to see such a mechanism in the Kotlin track as well. So far I wrote a hand full of Kotlin test cases for my previous pull requests just by modifying the Python
template.j2
and it worked very well. Especially exercises with 20+ test cases and long descriptions are pain.Extra points of that script warns if the .meta/version differs from the problem spec and optionally creates/updates version, tests, README.md as needed.
Any thoughts? In case someone would be willing to implement it, where should it go, to configlet, bin/, scripts/, a Gradle task?
The text was updated successfully, but these errors were encountered: