Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datasets skipped within Scenario Outline of a feature file called from another feature file. #421

Closed
anurag0510 opened this issue Jun 14, 2018 · 9 comments
Assignees
Milestone

Comments

@anurag0510
Copy link

Here I have a checker.feature file which is :

Feature: Demo

  Scenario: Title of your scenario
    * def a = read('checker2.feature')
    * def b = call a

It call another checker2.feature file from same package which is :

@ignore
Feature: Called feature file

  Scenario Outline: Title of your scenario outline
    * print <name>
    * print <value>
    * assert <name> == <value>

    Examples: 
      | name  | value |
      | 5     |     5 |
      | 7     |     7 |
      | 10    |     10|
      | 11    |     12|
      |12     |     12|
      |13     |     14|
      |14     |     14|

As it is visible in checker2.feature file that dataset #4 which is | 11 | 12| will fail. The execution of datasets after it is not considered.
Could we have a fix for this?

@ptrthomas
Copy link
Member

sorry unless you follow the instructions here we will not look at this at all: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

try again please.

@ptrthomas ptrthomas self-assigned this Jun 14, 2018
@ptrthomas ptrthomas added bug and removed invalid labels Jun 14, 2018
@ptrthomas ptrthomas added this to the v0.8.0 milestone Jun 14, 2018
@ptrthomas
Copy link
Member

@anurag0510 never-mind. since a couple other folks reported it, I decided to create a working example myself. looking into it

@ptrthomas ptrthomas reopened this Jun 14, 2018
@anuragdubey0510
Copy link

@ptrthomas thanks a lot for understanding and going extra mile for this. Will be waiting for a fix.

@ptrthomas
Copy link
Member

@anuragdubey0510 can you check the latest 0.8.0.RC8 this should have the fix

@ptrthomas ptrthomas reopened this Jul 9, 2018
@ptrthomas
Copy link
Member

released 0.8.0

@dkdarshu45
Copy link

dkdarshu45 commented May 9, 2020

This is not fixed in 0.8.0.RC8

@ptrthomas
Copy link
Member

@dkdarshu45 works for me

@dkdarshu45
Copy link

Attached project so that u can reproduce
Sample.zip

@ptrthomas
Copy link
Member

@dkdarshu45 nope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants