Add asBoolean|Byte|Short|Int|Long|Float|Double to String assertions#2580
Add asBoolean|Byte|Short|Int|Long|Float|Double to String assertions#2580hezean wants to merge 1 commit intoassertj:mainfrom hezean:main
asBoolean|Byte|Short|Int|Long|Float|Double to String assertions#2580Conversation
|
Hi @scordio, sorry for bothering. This PR implements the methods you mentioned, could you please review the code? |
|
Hi @hezean, thanks for the PR. Despite my proposal at #2509 (comment), we haven't discussed these new methods in the team yet, so it may take some time before we move on to the review phase. Thanks in advance for your patience! |
|
Hi @scordio, it seems that 3.24.2 is already released. Any update on the methods related in this pr?
|
|
Hi @hezean , thanks again for your patience. I'll make sure this gets covered for 3.25.0. |
joel-costigliola
left a comment
There was a problem hiding this comment.
Thanks @hezean, first round of code review done. Sorry for the long wait!
Co-Authored-By: Matthew <[email protected]>
|
Hi @joel-costigliola, I really appreciate for your review, and thanks for giving me an opportunity to contribute to assertj! I've just cleaned up this PR, fixing all the issues you pointed out. Please let me know if anything should be made better. |
|
Integrated thanks @hezean! I did some minor cleanup and added support for soft assertions which is a bit tricky to do if you are not familiar with how they work, you can look at the commit if you are interested, anyway you get full credit for the changes 😉 |
As #2509 (comment) mentioned, several methods are added as the shortcuts for
extractingboolean and numbers.Check List: