-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Update test suite files #255
Comments
I'd like to hear more opinions on this one. I can think of reasons to do it either way. |
Do we have a help description anywhere that explains users how to update changed exercises manually? |
I don't think we do. One thing we could do is put a Replacing the test file will put back any skips or pending etc, which people will need to remove manually (depending on the language). |
I'm thinking - if a user fetches without specifying an exercise I'm wondering if we can avoid the Have we ever seen a new version of ruby or elixir etc break old tests? That seems a good motivation to add this. |
New versions of the languages have broken tests in elixir, rust, and there's also some version sheer in python, but I don't think this would fix that. I'm not sure if the timestamps thing would work... it might. I'll experiment a little bit. I'd rather not assume anything about what the user wants. Maybe we could add a --force flag that would always overwrite the tests with the most recent version if they pass it, and then warn them about new versions (and tell them to use --force if they want it) when they fetch. Maybe also that could be a part of the |
I like that. I don't see why people would go back to fetch an exercise that they've already done, so the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I recently mis-reported a long-ago fixed issue with the Python hello-world exercise due in part to the behavior this issue describes. See: exercism/python#1353 I like @kytrinyx's idea about adding a |
The nextercism client will be a bit smarter about this, if I recall correctly 👍 |
Ok, I've had a look at this and I believe it's safe to close, since we're dealing with this quite differently in v2 (we pin the version that you're working against). |
Maybe I'm wrong but if a test suite file is changed the only way to get this update is by manually removing it and exercism fetch; providing he or she knows about the change.
I think it would be better if it's updated just with
exercism fetch
or at least that the user gets a message afterfetch
if there are not updated test suites.The text was updated successfully, but these errors were encountered: