"Use contexts" #3
glaucocustodio
started this conversation in
General
Replies: 2 comments 3 replies
-
|
I used to do this a lot but now less because it makes things less searchable. When I'm copying from a test string like "UsersController create when there is no password returns an error" I have to be very careful about what I copy to find and search the test. The more contexts the harder it is. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I have a top level describe for the class, a describe for the method, and
then I have `it` statements within that spelling out each case in readable
English. It works well with avoiding before and let too
…On Tue, Aug 13, 2024, 12:55 PM Glauco Custodio ***@***.***> wrote:
how do you test many use cases then?
—
Reply to this email directly, view it on GitHub
<#3 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXDJ3OWMTARSN4ULZ4VGZTZRJQDNAVCNFSM6AAAAABMKT4DV2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZSHE4TKMI>
.
You are receiving this because you commented.Message ID:
<evenbetterspecs/evenbetterspecs.github.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What are your thoughts on https://evenbetterspecs.github.io/#use-contexts?
Beta Was this translation helpful? Give feedback.
All reactions