Closed papb closed 1 year ago
Because conditional testing is an anti-pattern in general and you should avoid it if possible
Sent from my iPhone
On Oct 13, 2022, at 12:04, Pedro Augusto de Paula Barbosa @.***> wrote:
Why does it say "Do not use" in the About section of this GitHub repository?
About
Easy conditional if-else logic for your Cypress testsDo not use
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
Hmm interesting. I suggest changing the text to
Easy conditional if-else logic for your Cypress tests, for when you can't avoid conditional testing
And I also suggest adding some information about it in the readme. For example, information on why it is an anti-pattern and why, despite that, this repository exists (I assume it is for a few situations in which the "anti-pattern" is actually acceptable)
Updated
Why does it say "Do not use" in the About section of this GitHub repository?