Comments (3)
Idea: Allow invoking psalm with xdebug enabled so that we can debug codeception tests. This is very helpful for me while writing new functionality in the laravel plugin.
Have you tried running your test suite as PSALM_ALLOW_XDEBUG=1 vendor/bin/codecept run
? Environment is inherited by child processes by default, so this variable should be available to Psalm as well.
I think we will also need to set
vendor/vimeo/psalm/src/psalm.php
as the psalm path, instead of justvendor/bin/psalm
Why?
from codeception-psalm-module.
/ping @mr-feek
from codeception-psalm-module.
You know what, simply invoking PSALM_ALLOW_XDEBUG=1 vendor/bin/codecept run
seems to work fine for me now. I think I went too far down the rabbit hole trying to figure out what was wrong before I found I needed PSALM_ALLOW_XDEBUG=1
altogether.
from codeception-psalm-module.
Related Issues (10)
- Bump requirements HOT 2
- Test Marked As Passed Even If Different Error Type Is Returned HOT 2
- query re: code coverage HOT 8
- Drop LegacyVersions (muglug/package-versions-56) support
- Tests fail because totallyTyped is now deprecated in 4.x HOT 1
- query: re psalm cache & docker HOT 5
- Add `--no-cache` to psalm commands HOT 3
- I see no errors does not check if psalm ran successfully HOT 3
- [Enhancement] Allow asserting that psalm returned a certain exit code HOT 1
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 codeception-psalm-module.