Looking for feedback on <https://github.com/kotest...
# kotest-contributors
e
o
I'm generally not a template user and a light user of line auto-completion, but I could use my imagination, so let's try: • For me, it would be
FunSpec
only, as I like it explicit. I also like to keep distraction to a minimum, which would include multiple ways of doing the same thing. •
fspec
is ambiguous, so if you'd like to add more, it could be
fuspec
,
frspec
and
fespec
.
e
I did some digging on Github to evaluate how popular the different spec styles are.. Here's the findings: | Spec style | Hits | | -------------- | ---- | | FunSpec | 5.9k | | DescribeSpec | 4k | | ShouldSpec | 1.2k | | StringSpec | 4.6k | | FreeSpec | 2k | | WordSpec | 1.2k | | BehaviorSpec | 2.7k | | FeatureSpec | 298 | | ExpectSpec | 133 | | AnnotationSpec | 920 | I think we could consider removing FeatureSpec and ExpectSpec given the above. It would also be nice to harmonize
FreeSpec
,
StringSpec
and
WordSpec
into a single style.
Depending on what name we land on for the string-based specs, we might
fspec
might become unambiguous.. I'd like to keep it as
fspec
while "stealth launching" the live templates if no one strongly objects.
1