Skip to content

grade-school: replace AssertJ with JUnit assertions #195

@jtigger

Description

@jtigger

grade-school is using AssertJ. While many agree that the fluent interface is a bit more readable, the JUnit + included Hamcrest matchers are sufficient to write tests that give good signal. Better to minimize the surface area a practitioner must learn.

Per exercism/exercism#3113, we're actively scrubbing uses of 3rd party libraries that are not technically necessary.

Remove AssertJ from this exercise and replace the assertions with that provided by JUnit and Hamcrest.

Hint: This may require including more Hamcrest libraries than what comes with JUnit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions