-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
rna-transcription: add invalid strand tests #1854
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
Conversation
Once upon a time, there were test cases for invalid input. These were removed in exercism/problem-specifications#1027. Rather than restoring cases that were intentionally removed, I would prefer to revise incorrect documentation. I looked at the exercise README, but saw no mention of handling invalid input. Which description were you referring to? |
I read |
@cmccandless it looks like the reference to ValueError was removed some time ago, however the example.py still includes a section that raises ValueError... should we remove that? |
Wouldn't hurt to remove it, since modifying the example solution shouldn't prompt students to update their exercise. AFAIK, the reason example solutions exist so that tests can be verified in CI. Students are not prohibited from reading example solutions, of course, but it is hardly required reading. |
Fair enough, but it might be good to keep them somewhat in sync with the "Recommended Solution" in the Mentor Notes and the tests. |
I wrote those test cases because the exercise description tells you that the code need to be able to handle invalid inputs by raising a ValueError.