You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using AssertJ assertions on entire exercises #2147
We can migrate all the asserts from Junit to AsserJ.
Working on this issue
This issue affects several exercises. If you want to contribute to this issue, you don't have to change this in all exercises, feel free to submit small PRs fixing this issue for a single exercise or a small subset of exercises!
I am in favour of this change, but it does mean that we have to revise the existing policy in POLICIES.md that states that we prefer JUnit assertions over AssertJ.
and I sure can also touch them. But that might take until Monday.
Btw, in my last PR I was told that the Diffie Hellman exercise was deprecated and that this tells me how to spot that. But looking at the config.json shows none of the mentioned things in that file. I can't even find a status entry in any of the json files: grep status */*/.(meta|approaches)/*.json yields no results. How can I spot the deprecated exercises?
I'm guessing you're looking at each exercise's .meta/config.json file, but the exercise statuses are kept in config.json at the root of this repository. Here's a list of the practice exercises currently deprecated:
Activity
andrerfcsantos commentedon Jul 30, 2022
This sounds like a good idea, thanks for suggesting!
I edited the description with how to contribute to this issue.
anandhakrishnanaji commentedon Aug 5, 2022
I'm working on this
suraj-mandal commentedon Aug 15, 2022
Hi, this is my first time, I will be contributing towards open source. May I work on this issue, and migrate some of the tests from junit5 to AssertJ?
danielmrcl commentedon Aug 20, 2022
Convert exception assertions to AssertJ in classes starting with 'A' and 'B'. #2156
jennylia commentedon Oct 14, 2022
I am working on the Haming
jennylia commentedon Oct 14, 2022
#2178 is my PR
jennylia commentedon Oct 17, 2022
#2181 another PR
smcg468 commentedon Nov 16, 2022
Hi, converting markdown from assertEquals to assertThat
Convert exception assertions to AssertJ (#2223)
sanderploegsma commentedon Sep 22, 2023
I am in favour of this change, but it does mean that we have to revise the existing policy in POLICIES.md that states that we prefer JUnit assertions over AssertJ.
pavanbaloju commentedon Oct 5, 2023
Hello @sanderploegsma, I would like to contribute to a few exercises.
Update change calculator test to use assertj (exercism#2147)
Update tests to use assertj (exercism#2147)
Update change calculator test to use assertj (#2147) (#2509)
pavanbaloju commentedon Oct 5, 2023
Raised one more PR for few more tests. Please review !
pavanbaloju commentedon Oct 6, 2023
Raised one more PR for few more tests. Please review!
pavanbaloju commentedon Oct 6, 2023
Raised one more PR #2513 which covers all the pending tests which needs to be updated
sanderploegsma commentedon Oct 6, 2023
I found three more practice exercises to update.
@keszocze I know you're working on Zipper, care to pick up the other two as well?
keszocze commentedon Oct 6, 2023
edit: Yes of course I can also change those.
But there are some more (and I will also change them):
and I sure can also touch them. But that might take until Monday.
Btw, in my last PR I was told that the Diffie Hellman exercise was deprecated and that this tells me how to spot that. But looking at the
config.jsonshows none of the mentioned things in that file. I can't even find astatusentry in any of the json files:grep status */*/.(meta|approaches)/*.jsonyields no results. How can I spot the deprecated exercises?sanderploegsma commentedon Oct 6, 2023
I'm guessing you're looking at each exercise's
.meta/config.jsonfile, but the exercise statuses are kept inconfig.jsonat the root of this repository. Here's a list of the practice exercises currently deprecated: