Open
Description
Describe the bug
I am trying to use gherkin parser. I observed that when i define Suite Teardown/Test Teardown, it calls setup method instead.
To Reproduce
Steps to reproduce the behavior:
- Define hooks.resource as and https://github.com/robotcodedev/robotframework-gherkin-parser/blob/main/examples/simple/features/steps/hooks.resource and refer in https://github.com/robotcodedev/robotframework-gherkin-parser/blob/main/examples/simple/features/__init__.robot
- run a demo test
- In results I see SuiteTeardown called immediately after setup.
- Test Teardown calls the test setup method
If possible add some example source code like:
***Settings***
Library Collections
***Test Cases***
a simple test
do something # this should shown something
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots/ Videos
If applicable, add screenshots or videos to help explain your problem.
Logs
Copy the messages from VSCode "Output" view for RobotCode and RobotCode Language Server for the specific folder/workspace.
Desktop (please complete the following information):
- VS Code Version :1.88
- RobotCode Version: 0.83
- OS: Windows
- Python Version: 3.11.7
- RobotFramework Version :7.0
- Additional tools like none
Additional context
Add any other context about the problem here.