Comments (6)
@yozlet Just a small update on this issue. I have tried to reproduce it on my Linux machine, and everything worked as expected. A little bit later I will try to reproduce this on Mac and CI.
from vscode-python-test-adapter.
It looks like this is a pytest bug happening when using -l
(--showlocals
) and -vv
together. I've created the issue pytest-dev/pytest#5089 and look forward to what pytest devs thinking about it.
from vscode-python-test-adapter.
@yozlet Thank you for the issue! I'll take a look.
from vscode-python-test-adapter.
Ah, here's the differentiator - the --showlocals
argument:
"python.unitTest.pyTestArgs": ["--showlocals", "-vv"]
Without --showlocals
, the Test Adapter works fine.
Trouble is, --showlocals
is just massively useful for fixing tests quickly without needing to run the debugger. It's so useful that maybe you could do something with the data it reports? (Though that's a separate feature request.)
from vscode-python-test-adapter.
@yozlet The issue in pytest has already been fixed. I will close this issue since it has nothing to do with the extension. Please, recheck this case after the new release of pytest. If there would be any other problems, feel free to create a new issue.
from vscode-python-test-adapter.
Many thanks for chasing this up and fixing it on the pytest side - that's far beyond the call of duty!
from vscode-python-test-adapter.
Related Issues (20)
- [SOLVED] Tests run and pass, but hang with grey tick/check mark icon (not green) HOT 4
- launch.json reports that '"request": "test",' is invalid, wants "attach" instead. HOT 2
- Support mixed c++ and python test debugging
- 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
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.