Giter Club home page Giter Club logo

cucumber_teamcity's Introduction

A basic Cucumber Formatter for TeamCity

Tested with Cucumber 1.3.18 and TeamCity 8.x.x.

Although teamcity has native support but the default formatter interprets every step as a separate test which does not reflect reality.

Install

Just copy teamcity_formatter to features/support/

Then add -f TeamCityFormatter to your cucumber command-line.

Right now, it seems that if you specify multiple formatters, cucumber will not output the final one to stdout, so you may want to make sure this is the only formatter used in your testing. (Alternatively, you could write to /dev/stdout if your system supports that, but right now, cucumber seems to not like that option.)

Terminology maps this way:

  • Cucumber -> TeamCity

  • Feature -> TestSuite

  • Scenario -> Test

  • Step -> No mapping, but steps will raise errors in the test

In Scenario Outlines, all values are kept together in a test. This is still true if you are using the new –expand option, since you presumably would like to track the name of the test that failed, not not just the numbers in the table.

Notes

We are not necessarily using all the features of cucumber in house, so please feel free to submit patches.

License

Do what you will, but give credit.

darrell [at] garnix.org <- Original author ankur [at] malloc64.com

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.