LeoColman
03/03/2022, 9:20 PMparagraph
gen came from hah) This generator will have a lot of properties. I do know some of these properties (for example, test("Generates exactly 5 words")
), but I don't really know how to test all of them just yet.
So I wanted to write a list of scenarios that I will have to implement
A: Separator should not be considered word
B: Number should come after a word
C: ....
Writing them as a real test class, describing the scenario helps me visualize where my code is going.
I wrote a lot of empty tests with these "future" scenarios, and they all passed. Even the empty ones. I wanted to write these future-scenarios and have them marked as a "TODO" in a special way. I could ask for contribution on that specific test, for example. I could decide to either ship or not ship to production if given scenarios are still pending implementation