lettuce
lettuce copied to clipboard
Lettuce on multiple feature files fails a scenario that passes when executing the feature file by itself.
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?
I have had this issue before, but it's always been because a previous scenario changes the state in some subtle way.