Repository navigation
nucleotide-count: rename classes - #699
Conversation
Rename class user test to be more similar to the name of the exercise. Rename the test class to use the name of the class user test.
|
|
||
| > If you're testing a class called `SomeClassName` then your test class should be called `SomeClassNameTest`. | ||
|
|
||
| > The exception to this is if the tests are split into several test classes where each test class tests different functionality. In that case each class should be named `SomeClassNameFunctionalityTest` where `Functionality` is the name of the functionality to be tested in that class. See the [clock exercise](https://github.com/exercism/java/tree/master/exercises/clock) as an example. |
There was a problem hiding this comment.
I added this since I remembered we do have an exception to this rule. But feel free to disagree with the policy I put in, I'm happy to change it :)
There was a problem hiding this comment.
This should probably be added to the events table at the top of this file too.
There was a problem hiding this comment.
Of course, will do! :)
|
@FridaTveit just one comment, looks good otherwise! |
| | Track Event | Policies to review | | ||
| |:------------|:-----------------| | ||
| | Exercise added/updated | [Prefer instance methods](#prefer-instance-methods); [Avoid using final](#avoid-using-final); [Adhere to best practices](#adhere-to-best-practices); [Starter implementations](#starter-implementations); [Ignore noninitial tests](#ignore-noninitial-tests); [Multiple file submissions](#multiple-file-submissions) | | ||
| | Exercise added/updated | [Prefer instance methods](#prefer-instance-methods); [Avoid using final](#avoid-using-final); [Adhere to best practices](#adhere-to-best-practices); [Starter implementations](#starter-implementations); [Ignore noninitial tests](#ignore-noninitial-tests); [Multiple file submissions](#multiple-file-submissions); [Name test class after class under test](#Name test class after class under test) |
There was a problem hiding this comment.
I think #Name test class after class under test needs to be #name-test-class-after-class-under-test
There was a problem hiding this comment.
Thanks, will fix it!
| | Track Event | Policies to review | | ||
| |:------------|:-----------------| | ||
| | Exercise added/updated | [Prefer instance methods](#prefer-instance-methods); [Avoid using final](#avoid-using-final); [Adhere to best practices](#adhere-to-best-practices); [Starter implementations](#starter-implementations); [Ignore noninitial tests](#ignore-noninitial-tests); [Multiple file submissions](#multiple-file-submissions) | | ||
| | Exercise added/updated | [Prefer instance methods](#prefer-instance-methods); [Avoid using final](#avoid-using-final); [Adhere to best practices](#adhere-to-best-practices); [Starter implementations](#starter-implementations); [Ignore noninitial tests](#ignore-noninitial-tests); [Multiple file submissions](#multiple-file-submissions); [Name test class after class under test](#Name-test-class-after-class-under-test) |
There was a problem hiding this comment.
This needs to have a lowercase N otherwise the link doesn't work.
There was a problem hiding this comment.
Thanks, will fix it! :)
8f9a6e9 to
9c75147
Compare
Rename class under test to NucleotideCounter. Rename test class after class under test. Add this to the policies doc.
Fixes #697.
Reviewer Resources:
Track Policies