Skip to content

Lettuce on multiple feature files fails a scenario that passes when executing the feature file by itself. #401

Open
programatt opened this Issue Nov 17, 2013 · 1 comment

2 participants

@programatt

My directory structure looks like this. (The repo itself is at https://github.com/mathewrphillips/PyFighter/ )

├── tests
│└── features
│   ├── Game
│   │   ├── Game.feature
│   │   ├── steps.py
│   │  
│   ├── Player
│   │   ├── PlayerRobot.feature
│   │   ├── steps.py
│   │  
│   └── Robot
│   │ ├── RobotHealth.feature
│   │ ├── RobotLocation.feature
│   │ ├── RobotMove.feature
│   │ ├── RobotPlayer.feature
│   │ ├── steps.py
│ ...

When I run lettuce tests/ I get a single scenario failing in RobotLocation.feature. If i execute lettuce tests/features/Robot/ all of the scenarios pass.

Is this an issue with lettuce itself or how i've written my feature/step files?

@RickyCook

I have had this issue before, but it's always been because a previous scenario changes the state in some subtle way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.