Skip to content
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

Implement new exercise: dnd-character #732

Closed
ErikSchierboom opened this issue Nov 21, 2018 · 4 comments
Closed

Implement new exercise: dnd-character #732

ErikSchierboom opened this issue Nov 21, 2018 · 4 comments

Comments

@ErikSchierboom
Copy link
Member

ErikSchierboom commented Nov 21, 2018

There is a new exercise, dnd-character, which data can be found here: https://github.com/exercism/problem-specifications/tree/master/exercises/dnd-character

To implement the dnd-character exercise, the following needs to be done:

  • Create a directory for the new exercise in the exercises directory (note: this has to match the exact exercise name).
  • Add a new entry to the config.json file.
  • Create a generator to automatically convert the canonical data to a test file. For more information on how to do this, check the generators docs.
  • Create a stub implementation file that contains the code necessary to compile (which are the methods called by the test file), but lacks an implementation. (see this example).
  • Create an implementation file that passes all the tests.
  • Create a project file for the project (you can probably best copy and modify one of the existing projects).

Note that this exercise should be implemented using property-based tests where possible. An example of an existing exercises that uses property-based tests is the diamond exercise.

@abecerramatias
Copy link
Contributor

May I take this one?

@ErikSchierboom
Copy link
Member Author

Sure!

@ErikSchierboom
Copy link
Member Author

Note that I edited the original issue and added this line:

Note that this exercise should be implemented using property-based tests where possible. An example of an existing exercises that uses property-based tests is the diamond exercise.

@ErikSchierboom
Copy link
Member Author

I'm working on this.

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

No branches or pull requests

2 participants