Skip to content

pangram: test names include expected outcome[Fix #313] - #316

Merged
FridaTveit merged 4 commits into
exercism:masterfrom
michaelspets:pangram313
Feb 23, 2017
Merged

FridaTveit merged 4 commits into
exercism:masterfrom
michaelspets:pangram313

Conversation

@michaelspets

Copy link
Copy Markdown
Contributor

No description provided.

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great so far, thanks @michaelspets! Just a few tweaks to some of the names to make it even more clear :)

@Ignore
@Test
public void missingCharacterX() {
public void missingCharacterXIsNotPangram() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe phraseMissingCharacterXIsNotPangram is more clear?

@Ignore
@Test
public void anotherMissingCharacterX() {
public void anotherMissingCharacterXIsNotPangram() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this one. Maybe anotherPhraseMissingCharacterXIsNotPangram is more clear?

@Ignore
@Test
public void panagramInAlphabetOtherThanAscii() {
public void panagramInAlphabetOtherThanAsciiIsNotPangram() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe ...IsNotRecognizedAsPangram is better than ...IsNotPangram since as far as I understand it this is a pangram just in another alphabet?

@@ -50,20 +50,20 @@ public void missingLettersReplacedByNumbers() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you missed one test here :)

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for following up on my comments, it looks great! I just have one small comment about one of the test names :)

@Ignore
@Test
public void missingLettersReplacedByNumbers() {
public void missingLettersReplacedByNumbersIsNotPangram() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I didn't spot this the first time round but this would possibly be clearer if renamed to phraseWithMissingLetters... to make it consistent with the others?

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant, thank you @michaelspets!! :)

@FridaTveit
FridaTveit merged commit 86ba550 into exercism:master Feb 23, 2017
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