Comments (5)
@LeonOnRoad Thank you for the issue! Can you tell me what is specified in your configuration? Also, it looks like this is more about escaping is Python script
Strings should be treated as raw literals.
from vscode-python-test-adapter.
@LeonOnRoad This issue should be fixed in version 0.3.1. Please, update the extension and let me know if the issue persists.
from vscode-python-test-adapter.
With version 0.3.1 it works fine. Thanks for fixing this!
I couldn't find 'configuration.startDirectory' in any of my configuration, settings or launch json files.
Currently my configuration is Python Current File (Integrated Terminal) (back-end)
Extract from launch.json containing the configuration
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
...
}
from vscode-python-test-adapter.
I was talking about the unittest argument -s
that can be provided in python.unitTest.unittestArgs
configuration property in the settings.json file. By default .
(current folder) is used.
from vscode-python-test-adapter.
Ok, thanks for clearing that up for me.
Here is my configuration:
"python.unitTest.unittestArgs": [
"-v",
"-s", "./tests",
"-p", "*test*.py"
]
This works fine with the python extension when discovering and running tests.
from vscode-python-test-adapter.
Related Issues (20)
- Error on additional workspace folders that do not have a virtual environment HOT 1
- Able to find tests but running tests on the wrong path HOT 1
- A test explorer ui question
- Feature request: Filter tests by pytest marker
- error discovering pytets HOT 1
- Feature request: Show complete output even when tests pass
- [testplan] Extension throws error when tested application fails to start up HOT 2
- PythonTest: Error HOT 1
- [pytest] test states not displayed HOT 15
- Support generating Test Report
- Pytest logging output - where do I find it?
- Could not load unit test config from launch.json as it is missing a field HOT 1
- v0.8.0 consumes 360 MB (37k files!) against v0.7.1 with 2 MB (300 files) HOT 3
- Conflicting util
- Python Test Output Throws InternalError
- Feature Request: Implement option to display a Quick Pick with collected tests
- vscode python remote testing and debugging with breakpoints not working
- Feature: Custom Test Discovery Option
- support for Ward? HOT 1
- explorer using pytest but config file says unittest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-python-test-adapter.