Replies: 1 comment
-
Shameless plug: If you decide to use this approach instead, there's Codeception module that makes it almost pleasant experience. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm writing a plugin for Psalm and I would like to use the same test system as Psalm to launch my tests. (The alternative being launching a full psalm instance by command line).
For that, I tried to use some Fake classes created especially for test usage but they're in the namespace Psalm\Tests\ who is only available in autoload-dev.
I tried copy/pasting those three classes:
FakeFileProvider.php
FakeParserCacheProvider.php
TestConfig.php
And I could validate my tests correctly. If this suggestion is not accepted, would you allow me to copy/paste those classes in my plugin as-is?
Beta Was this translation helpful? Give feedback.
All reactions