koufa
11/13/2025, 4:19 PMSpecExecutionOrderExtension . I am logging the return value of my override fun sort(specs: List<SpecRef>): List<SpecRef> but the specs executed are in another random order. Do I have to take care of something?sam
11/13/2025, 4:22 PMkoufa
11/13/2025, 4:24 PMobject SpecOrdering : SpecExecutionOrderExtension {
override fun sort(specs: List<SpecRef>): List<SpecRef> {
val (isolatedSpecs, normalSpecs) = specs.partition { spec ->
spec.isIsolatedSpec()
}
val sorted = normalSpecs + isolatedSpecs
println(sorted.map { it.name() })
return normalSpecs + isolatedSpecs
}
}
and I can see the print statementsam
11/13/2025, 4:24 PMkoufa
11/13/2025, 4:26 PMkoufa
11/20/2025, 10:33 AM<https://github.com/kotest/kotest/issues/5206>
Thank yousam
11/20/2025, 10:59 AM