Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Limit number of test classes in file to one #1779
One of the things I like the most about Quick is the possibility to isolate scenarios in nested blocks to better describe the behavior of the system under test.
As result, rare are the cases were one would need to implement two or more QuickSpecs in the same test file. A single QuickSpec per file is enough.
rule request, single quick spec per file, opt-in
added a commit
Aug 16, 2017
@marcelofabri I'm not sure, but I more inclined to say no.
One might want to test the system under test with different parameters and a single pair of
Using Quick, these are different setups would live inside the same QuickSpec class, but nested under