kotest icon indicating copy to clipboard operation
kotest copied to clipboard

Gradle assertions for plugin authors

Open JavierSegoviaCordoba opened this issue 2 years ago • 4 comments

Some samples:

  • Task outcome
    • Result.hasSuccessOutcome()
    • Result.hasFromCacheOutcome()
    • TaskOutcome.shouldBeSuccess()
    • TaskOutcome.shouldBeFromCache()
    • and so on
  • Result output
    • Result.shouldBeConfigurationCacheCompatible()

JavierSegoviaCordoba avatar May 22 '22 00:05 JavierSegoviaCordoba

Maybe this could be a different module, like we have for Ktor assertions https://github.com/kotest/kotest-assertions-ktor

LeoColman avatar May 22 '22 18:05 LeoColman

@LeoColman exactly, it is too specific to be added to the core assertions module.

JavierSegoviaCordoba avatar May 22 '22 19:05 JavierSegoviaCordoba

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 23 '22 01:06 stale[bot]

No stale

JavierSegoviaCordoba avatar Jun 23 '22 07:06 JavierSegoviaCordoba

I'm going to close this as out of scope for the main kotest org. There's a lot of upkeep in keeping the compiler plugins up to date, and since I wouldn't use these plugins I can't commit to maintaining them. I hope someone from the community could make a third party repo and add these.

sksamuel avatar Aug 27 '23 07:08 sksamuel