Skip to content

Add test generator #1093

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

Closed
wants to merge 6 commits into from
Closed

Conversation

cmccandless
Copy link
Contributor

The purpose of this test generator is to create a starting point for contributors when implementing/updating test cases for an exercise. Most likely, all but the simplest exercises will require at least a few minor changes to the generated code, but using a generator will save time for reviewers by creating some consistency between exercises and save time for contributors by reducing the amount of code they must write from scratch.

Other features that could also be added to this generator:

  • Generate README using configlet for new exercises
  • Generate solution template for new exercises
  • Copy solution template to example.py for new exercises (contributor must still implement actual example solution)
  • Update config.json with entry for new exercises

@cmccandless
Copy link
Contributor Author

Once exercism/problem-specifications#996 has been fully implemented, this script can be greatly improved, so let's put a pin in it for now.

@cmccandless
Copy link
Contributor Author

Updated to detect new schema.

@cmccandless cmccandless self-assigned this Jun 5, 2018
@cmccandless
Copy link
Contributor Author

Closing, as discussion in #1513 has led in a different direction.

@cmccandless cmccandless closed this Oct 8, 2018
@cmccandless cmccandless deleted the add-test-generator branch October 8, 2018 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants