lettuce icon indicating copy to clipboard operation
lettuce copied to clipboard

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

Open programatt opened this issue 11 years ago • 1 comments

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?

programatt avatar Nov 17 '13 23:11 programatt

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

RickyCook avatar Jan 21 '14 22:01 RickyCook