In case anyone's curious what the most popular tes...
# kotest
b
In case anyone's curious what the most popular test style might be, here's some very non-rigorous results Note that there can be multiple results per repo, so e.g. a large project with opinionated use of one style could be throwing the results off
👌 1
s
StringSpec surprises me a bit. FunSpec is the "default" in many examples, so that's understandable, and DescribeSpec is the Javascript style, so makes sense.
Expect and Feature spec probably shouldn't exist 🙂
Yeah I only use fun test 🙂
d
I mainly use ShouldSpec, but I'm the minority I guess
l
I use ShouldSpec when the wording makes sense
And that's on rare ocasions. I usually stick to FunSpec
s
Is it possible to get a chart of how many specs per repo ?
i
Isn't
FreeSpec,
a
StringSpec
but on steroids? I mean the support for nesting tests. And if that's the case why do we need
StringSpec
?
l
I think because of gradle
It doesn't support a test that is also a container
So there must be a difference
s
Once we ditch the gradle test plugin in kotest 6.0 we can get rid of the distinction between containers and tests, and StringSpec can be an alias to FreeSpec