NOTE: before posting an issue, please make sure you read through the Troubleshooting section of the readme: https://github.com/jimasp/behave-vsc/blob/main/README.md#troubleshooting
jimsisco: I did look here first.
Please note that I can only support issues with the latest release (https://github.com/jimasp/behave-vsc/releases) and the latest version of vscode. The supported behave version is 1.2.6.
jimsisco: I am running the latest version of behave and behave-vsc
Describe the bug
The test status icon displays as failed even though the test has passed in the Behave VSC OUTPUT window. And, when I run the test via launch.json.
To Reproduce
- Select a test and click the run button
- The test runs and complete with all steps passing being displayed in the behave vsc output window.
- Go to test in test explore to validate that the icon "red"
Expected behavior
The icon should be "green"
Directory structure (optional, i.e. if relevant)
VScode setting.json
{
"python.defaultInterpreterPath": "python",
"python.languageServer":"Pylance",
"python.analysis.extraPaths": [
"./libs/",
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": false,
"behave-vsc.featuresPath": "./",
"behave-vsc.multiRootRunWorkspacesInParallel": false,
"behave-vsc.showSettingsWarnings": true,
"behave-vsc.runParallel": true,
"behave-vsc.xRay": true,
}
Screenshots and GIFS (optional)
![image](https://user-images.githubusercontent.com/105894062/180881359-1ba65852-e40b-455c-a552-aa8d61b6913a.png)
Below is screenshot of my directory structure
![image](https://user-images.githubusercontent.com/105894062/180882827-f21ca856-6d46-4be5-a73b-ec15dba03962.png)
Debug result (optional)
See above screenshots and settings.json
Pull request (optional)
If you have created a pull request in a fork to fix the issue, please link it here
Operating system (please complete the following information):
running in a cloned volume.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
Additional context
I do not understand the magic and where the test results are being stored. Thanks for taking a look.