specifying specs to run

7 views
Skip to first unread message

Jonah-carbonfive

unread,
Sep 23, 2011, 4:30:26 AM9/23/11
to Cedar Discussion
When I'm working on a class I often want to be able to run just a
specific subset of the tests so that I can complete a red-green TDD
loop without distraction from other test classes' output or the extra
time they take to run. To make that easier I added a way to specify
which specs to run:

CEDAR_SPECS="SpecSpec SpecSpec2" rake specs

Runs just those spec classes named in CEDAR_SPECS. Since this is just
an env var we can specify it on the command line when running specs
via rake or add it to our scheme when running specs via Xcode so it
works in either environment and regardless of if we are running
headless or not.

https://github.com/pivotal/cedar/pull/16
Reply all
Reply to author
Forward
0 new messages