Feature Requests

Use this forum to post things that you would like to see in future versions of Twist

This is a public Discussion Area  publicRSS

Post

    Carlos Villela
    Running isolated Twist tests from Ant
    Post posted April 1, 2009 by Carlos Villela, last edited February 9, 2012
    1913 Views, 3 Comments
    Topic:
    Running isolated Twist tests from Ant
    Body:

    I've been searching for a way to run just one specific test scenario from the command line. Currently, it doesn't look like there's a simple or obvious way to do that.

    I'd like to see something like the code snippet attached.

    Code Snippet:

    Comment

     

    • Nivetha
      posted April 1, 2009 by Nivetha

      Right now, "Tags" is the only way to specify the scenarios to execute from Ant. Our ant target "execute-scenarios" takes tag as one of the input. Look at this link - http://studios.thoughtworks.com/twist-agile-test-automation/1.0beta/help/continuous_integration.html

    • Carlos Villela
      posted April 2, 2009 by Carlos Villela

      Hi Nivetha!

      We are running the twist scenarios using tags in the CI build at the moment, as you describe. This feature would be useful for developers investigating why a given scenario isn't behaving as expected, without having to switch from their IDE of choice into Twist just to be able to run it.

      We do not want to tag each scenario individually (as that sort of defeats the purpose of tagging or having that as a named file in the repository, really), and would like to ask the execute-scenarios target to run just this one particular file.

    • Nivetha
      posted April 2, 2009 by Nivetha

      Makes sense. Will record it as customer feedback and try to address this based on the priority.

      Thanks.