Code Monkey home page Code Monkey logo

Comments (2)

nerdyc avatar nerdyc commented on June 14, 2024

Yes! I do it all the time. Just use 'fit' instead of 'it' to run just that example. Or 'fdescribe' instead of 'describe' to run that group of examples. 'f' stands for 'focused'.

For example:

fit(@"returns YES when equal", ^{ ... });

On Sep 19, 2013, at 9:40 AM, Salman Ansari [email protected] wrote:

Hey there,

Long time Rubyist that just started doing iOS here, and just started using Specta with an XCode 5 project. Thanks for helping to bring readable tests to iOS :)

I like that I can run a single "Spec" block in XCode 5 by clicking the icon to the left of the spec declaration, but that usually encompasses a group of tests (in one or more describe blocks with multiple "it" tests inside that). Is it possible to run a single "it" test, or even a "describe" block", within XCode 5? Running the whole spec file each time I'm working on a single test is really hurting my flow.

Thanks!


Reply to this email directly or view it on GitHub.

from specta.

sansari avatar sansari commented on June 14, 2024

THANK YOU SO MUCH! You are awesome :) #happytester

from specta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.