Coder Social home page Coder Social logo

node-cucumber-testrail-sync's Introduction

SSENSE

Source Code for SSense WebApplication

node-cucumber-testrail-sync's People

Contributors

mattychance avatar quinnlangille avatar remyjeancolas avatar rundef avatar speedazerty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-cucumber-testrail-sync's Issues

Support of keyword "Background"

Hello,
I am trying to sync some tests from TestRail to my local machine but i am getting the following message:

Syncing with TestRail ...

Invalid gherkin content for TestCase #43491-invalid-login
Background:
Given I am on login page

Is the keyword "Background" supported" ? If not, how should i handle the preconditions ?

Thank you,

Steffen

Background, not supported

Hello,
I am trying to sync some tests from TestRail to my local machine but i am getting the following message:

Syncing with TestRail ...

Invalid gherkin content for TestCase #43491-invalid-login
Background:
Given I am on login page

Is the keyword "Background Supported" ? If not how should i handle the preconditions ?

Thank you,

Regards,
Angelos

Provide ability to throw if local features don't match remote features

Currently, you're prompted to enter Yes/No if your local features don't match the remote feature descriptions.
It would be nice if there was a non-interactive switch (cucumber-testrail-sync --non-interactive) that would exit with status code 0 if the local and remote features match or exit with code 1 if there's a mismatch.
This would help introduce a new step in CI that would fail a build if the requirements for a test have changed but the features haven't been synced locally.

Issue during Sync

Hello and congratulations for your work. I was really looking for a tool like this.
Though i have the following issue. I have followed the process as you describe in your doc but when i run the command to sync between the TR and my Cucumber tests i get the following error:

$box: ~/node_modules/.bin/cucumber-testrail-sync
undefined:1
File not found.
^

SyntaxError: Unexpected token F in JSON at position 0
at Object.parse (native)
at Request._callback (/Users/usr/node_modules/testrail-api/index.js:78:30)
at Request.self.callback (/Users/usr/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/Users/usr/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/Users/usr/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

my configuration is the following:

module.exports = {
    testrail: {
        host: 'https://testrail.someurl.com/testrail/index.php',
        user: 'user',
        password: 'pass',  // password or api key
        filters: {
            plan_id: '10' // required: the project's plan id
        }
    }
};

Can you help a bit ?

"Scenario Outline" not supported

Hi there,
I have a few feature files in testrail with Scenario Outline and a table but when I try to sync this up I get

"Invalid gherkin content for TestCase ..."

This is a valid Cucumber format

Double pipes in Feature files.

To have a well displayed table of element in TestRail, we're using double and triple pipes separator like so:

|||:expirationDate|:expiry_month|:expiry_year
|| 1006 | 10 | 2006
|| 1207 | 12 | 2007
|| 0709 | 07 | 2009

When we import the test, the triple pipes separators are replaced by two pipes, which brakes the Gherkin syntax in Cucumber.

Results:
||:expirationDate|:expiry_month|:expiry_year|
| 1006 | 10 | 2006|

Would it be possible to replace any number of consecutive pipes characters by only one ?

Is there a way to integrate this with grunt?

The documentation seems to only indicate manual execution. I originally wanted to push the results to TestRail, but the syncing features looks really cool!

I have Chimp (using cucumber) running and exporting a JSON reports file.

Please advise.

Support TestRail Code Blocks

In testrail: To make a code block the user can indent four spaces:

http://docs.gurock.com/testrail-userguide/userguide-editor

By indenting each line with 4 spaces, the user can make valid Gherkin. Valid Gherkin can be parsed by existing libraries without too much effort.

Cucumber-testrail-sync should make efforts to detect if text is written in "code." If it is written in code, then respect the existing formatting.

Relates to issue #6

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.