Temporarily skip an RSpec example group
I knew about prefixing an RSpec example with x
to skip it. I just found out that a describe
or context
example group can also be temporarily skipped using xdescribe
and xcontext
.
How did I find out? RTSL
Special bonus: the focus effect works similarly: fit
, fdescribe
, and fcontext
.
Written on June 1, 2016 by alistairmckinnell