Giter Site home page Giter Site logo

yace's Introduction

yace - Yet Another cucumber-rs Example

This repo was created to report issues to cucumber-rs

Running tests

In order to run Cucumber tests under ./features execute the following command

cargo run

or with Cucumber flags

cargo run -- --retry=1 --tags="not @flaky"

yace's People

Contributors

serzhshakur avatar

Watchers

James Cloos avatar  avatar

yace's Issues

Running specific scenarios

Trying to replicate the following test taken from the book example

Feature: Animal feature

  @hungry
  Scenario: If we feed a hungry cat it will no longer be hungry
    Given a hungry cat
    When I feed the cat
    Then the cat is not hungry

  @satiated @second
  Scenario: If we feed a satiated cat it will not become hungry
    Given a satiated cat
    When I feed the cat
    Then the cat is not hungry

Goal is to run the scenario with tag @hungry only

none of the following commands worked

cargo test -p example --test example_test -- --tags="@hungry" gives error: Unrecognized option: 'tags'
cargo test -p example --test example_test -- -t @hungry error: Unrecognized option: 't'
cargo test -p example --test example_test -- --exact="@hungry" Option 'exact' does not take an argument

versions: 0.19.0 & 0.20.0

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.