Conversation
| "topics": [ | ||
|
|
||
| ] | ||
| }, |
There was a problem hiding this comment.
Please put new exercises at the end of the list.
Is this difficulty assessment accurate? Edit: difficulty 1 is right for this problem.
Please add some topics.
|
|
||
| In order to run the test, you can run the test file from the exercise | ||
| directory. For example, if the test suite is called | ||
| `hello_world_test.rb`, you can run the following command: |
There was a problem hiding this comment.
This file can include the actual instructions.
|
Thanks @rudresh4 this is a great start. I'd like to see a test generator added which would automatically generate the tests based on the common test data. See the instructions about this in the README. The generator for this problem should not be difficult to implement. |
… have proper commands. Update config.json to include topics for Two-fer.
|
@Insti Updates made as requested. |
|
Awesome ❤️ thanks. |
| @@ -0,0 +1 @@ | |||
| 3 No newline at end of file | |||
There was a problem hiding this comment.
Change the version back to 1.
To do this, locally change this number to 0 then re-generate the tests, which should update it to 1 everywhere.
|
|
||
| In order to run the test, you can run the test file from the exercise | ||
| directory. For example, if the test suite is called | ||
| `two_fer_test.rb`, you can run the following command: |
There was a problem hiding this comment.
For example, if the test suite is called
two_fer_test.rb, you can run the following command:
Can probably all be deleted.
|
Looking good we're almost there 👍 |
|
@Insti All updates are made based on request |
| For installation and learning resources, refer to the | ||
| [exercism help page](http://exercism.io/languages/ruby). | ||
|
|
||
| For running the tests provided, you will need the Minitest gem. Open a |
There was a problem hiding this comment.
I think this section on how to run the tests is required, it was just the "For example.." line that I thought needed to be removed.
Sorry if my earlier request was confusing.
There was a problem hiding this comment.
I solved this problem once and for all by autogenerating READMEs: #721
There was a problem hiding this comment.
Ok, the testing instructions will need to be part of the README in this PR though.
|
@rudresh4 why did you close all your PRs? 😞 |
Why?
Solve unimplemented Two Fer problem for Ruby.
What?
Two Fer problem description: https://github.com/exercism/problem-specifications/blob/master/exercises/two-fer/description.md
How Has This Been Tested?
rake test
rake test:two-fer
Types of changes