Skip to content

Converting tests to AssertJ (exercises starting with H, I, K)#2052

Merged
mirkoperillo merged 16 commits into
exercism:mainfrom
thtroyer:assertj_hik
Nov 2, 2021
Merged

Converting tests to AssertJ (exercises starting with H, I, K)#2052
mirkoperillo merged 16 commits into
exercism:mainfrom
thtroyer:assertj_hik

Conversation

@thtroyer
Copy link
Copy Markdown
Contributor

I saw someone else group their AssertJ conversions together and figured I'd start doing the same.

The tests have been converted from using JUnit's assertions to use AssertJ, cleaning up and inlining portions of the tests that make sense to do so.

I also updated the reference implementation for knapsack. It needlessly specified ArrayList in its method signatures (instead of just List). Switching to List let me clean up the tests a little more.

Exercises updated:

  • hamming
  • hangman
  • hello-world
  • hexadecimal
  • house
  • isbn-verifier
  • isogram
  • kindergarten-garden
  • knapsack

Reviewer Resources:

Track Policies

Copy link
Copy Markdown
Contributor

@mirkoperillo mirkoperillo left a comment

Choose a reason for hiding this comment

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

thank you @thtroyer LGTM

@mirkoperillo mirkoperillo merged commit d4071c2 into exercism:main Nov 2, 2021
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