Recovering interrupter with occasional relapses, lover of spreadsheets, blogger, programmer, adept debugger, conjurer of analogies, and probably other things.
I choose "describe" for the thing under test (e.g. describe "#call"). And "context" for the conditionals (e.g. context "when given user is logged in").
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Curious on how you think about
describe
vscontext
. In simple terms, how you decide to use one vs the other in different scenarios?I choose "describe" for the thing under test (e.g.
describe "#call"
). And "context" for the conditionals (e.g.context "when given user is logged in"
).