Skip to content

scrabble-score: make test failures easier to troubleshoot #166

Closed

Description

@jtigger

scrabble-score uses the JUnit Parameterized test runner. This was done to make the test more compact (and once you learn how the mechanism works, easier to read).

However, when a test fails, the error message does not indicate which value failed. This makes it really difficult to know why the test failed.

Test failures should clearly indicate what failed.

To Do:

  • ensure that this exercise is using JUnit 4.12 or later
  • add a format string to the @Parameters annotation.

(ref: #147)

Activity

  1. added 2 commits that reference this issue on Dec 21, 2016
  2. added a commit that references this issue on Dec 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions