checkmate icon indicating copy to clipboard operation
checkmate copied to clipboard

#99 feat: Include argument 'comment' in assertions

Open PetterHopp opened this issue 4 years ago • 7 comments

I suggest to include the argument 'comment' in assertion functions. This suggestion appends the comment after the standard message and may be considered as a solution of issue #99. The original wish was to include the comment before the standard message. The changes are partly tested, but I have not been able to perform a full test of all changes (all assertion functions will be changed). Be aware that I suggest to put the argument 'comment' before the argument 'add'. the reason is that I think this is a logical order. However, this my introduce breaking changes if users have been giving the arguments to assertion functions without using the name of the argument, i.e. not written "add = collection" but only "collection".

PetterHopp avatar Aug 26 '21 10:08 PetterHopp

I had a look at the failed test for Windows. The test failed due to too many arguments for a function which I believe is OK as I have added an argument.

PetterHopp avatar Aug 26 '21 12:08 PetterHopp

Thanks for the PR. I'll first try to release a new version of checkmate in 2-3 weeks, then review and merge this one.

mllg avatar Sep 24 '21 08:09 mllg

Hi I'm glad that you will try to make a new release soon, I'm very interested in some of the new features in 2.1. Thank you for considering the PR and no problems with prioritizing the new release first.

Kind regards, Petter Hopp @.***

Fra: Michel Lang @.> Sendt: fredag 24. september 2021 10:52 Til: mllg/checkmate @.> Kopi: Hopp, Petter @.>; Author @.> Emne: Re: [mllg/checkmate] #99 feat: Include argument 'comment' in assertions (#211)

Thanks for the PR. I'll first try to release a new version of checkmate in 2-3 weeks, then review and merge this one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mllg/checkmate/pull/211#issuecomment-926459656, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC7JXNTM5DZG6B6RLHQ2B6TUDQ3ZHANCNFSM5C3CVEGQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

PetterHopp avatar Sep 24 '21 12:09 PetterHopp

Hi. Is this PR going to be merged?

novica avatar Jan 09 '24 10:01 novica