CLOVIS
07/22/2024, 1:27 PMbnorm
07/22/2024, 1:29 PMCLOVIS
07/22/2024, 1:29 PMbnorm
07/22/2024, 1:29 PMcompiler-plugin-power-assert
tag or just include PowerAssert:
as a title prefix.bnorm
07/22/2024, 1:29 PMUnder the Kotlin project?Yes
CLOVIS
07/22/2024, 1:29 PMCLOVIS
07/22/2024, 1:59 PMtoString
, gave the opinion to viewers that Power Assert would be something nice in the future, but was not usable in its current state.CLOVIS
07/22/2024, 2:05 PMCLOVIS
07/22/2024, 2:06 PMbnorm
07/22/2024, 2:25 PMCLOVIS
07/22/2024, 2:25 PMbnorm
07/22/2024, 2:26 PMbnorm
07/22/2024, 2:33 PMtoString()
issue in the short-term... But do you think opinions would change if these 2 other issues were resolved? I actually already have a fix for the tabs issue, just need to get it merged.CLOVIS
07/22/2024, 2:43 PMCLOVIS
07/22/2024, 2:44 PMbnorm
07/22/2024, 2:46 PMbnorm
07/22/2024, 2:48 PMuse IntelliJ's value explorerYeah, this is definitely in our ideas list as well. Hoping to design something which IntelliJ can use to provide an even richer test failure output. Well beyond the assert equals comparison it already supports.
CLOVIS
07/22/2024, 2:48 PMCLOVIS
07/22/2024, 2:49 PMMaybe someday Strikt can use power-assert to enhance that output even more and it won't be a one-or-the-other situation, but a why-not-both situation.The problem is that Strikt requires expressions to be written in the way it expects, and this can sometimes be quite complex to do. Power Assert has much more contextual information, and is already able to infer most of this from regular Kotlin code, without needing to learn a library at all