-
-
Notifications
You must be signed in to change notification settings - Fork 525
bob: setting up generated tests #493
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
Are you interested in setting up the generator for these and having the versions mark the occasion? This is when the bookkeeping becomes important, since it is incremented with the generators to help us keep track of solutions. At the moment, there is no reason to change from "Version 0", no change driving it other than to add the bookkeeping itself. What do you think @raadler, are you up for the task of putting the generator in place? |
@kotp Sure. Edit: Looking at the documentation now. |
You can use this same PR... it will automatically update. May want to change the title to something that indicates setting up generated tests. |
@kotp A few questions about the generator setup steps: it mentions x-common/$problem.json. Is that x-common/exercises/bob/canonical-data.json in this case? (The path is a bit different than described.) And am I creating the lib/bob.rb? (Some files mentioned in the readme seem to have been renamed, so the readme might need to be edited at some point.) |
Yes
You will need to create: If you run the generator with: The documentation is a bit out of date unfortunately. We're in the middle of changing the process to make everything easier, part of that will involve updating the documentation. |
Have a look at the recent Triangle generator for an up-to-date example. |
@raadler I wanted to bump this. If you want we can pick this up... |
@kotp That would be great. I've been super busy and this has fallen through the cracks, so if someone has more time for it, go ahead. |
OK @raadler I am going to close this issue to allow someone else to run with it. If you find that it has not happened yet, feel free to start from scratch or open this one up and force a push to it to get it rolling again! |
No description provided.