Skip to content

Migrate DescriptiveWithBasedOnSubjectSpec from spek to kotest #1194

@robstoll

Description

@robstoll

Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none

Code related feature

We want to move away from spek as it's future regarding maintenance and development is quite unsure.
As I don't want to loose hierarchical test setup I decided that we go with kotest

Following the things you need to do:

  • add dependency to kotest to the common platform in misc/atrium-specs/build.gradle.kts (if not already there)
  • figure out if kotest has an include mechanism as well
  • copy SubjectLessSpec, rename to SubjectLessKotestBasedSpec and migrate to kotest
  • rewrite atrium-core/src/commonTest/kotlin/ch/tutteli/atrium/assertions/builders/DescriptiveWithBasedOnSubjectSpec.kt to kotest extending a FunSpec

Your first contribution?

  • Write a comment I'll work on this if you would like to take this issue over.
    This way we get the chance to revise the description in case things have changed in the meantime, we might give you additional hints and we can assign the task to you, so that others do not start as well.
  • See Your first code contribution for guidelines.
  • Do not hesitate to ask questions here or to contact us via Atrium's slack channel if you need help
    (Invite yourself in case you do not have an account yet).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions