Use better autoloading for test files#229
Conversation
| "psr-4": { | ||
| "AsyncAws\\Core\\": "" | ||
| }, | ||
| "files": ["Test/PHPUnitTestCase.php"], |
There was a problem hiding this comment.
I think it's only needed in Generator (+ Aws because of subtreesplit) when using Reflection to change the source code of a Test.
When running test, there is no issue, the Class PHPUnit\TestCase is well loaded.
People using Core + our testCase should not be impacted
There was a problem hiding this comment.
I've updated the solution now. I pretty much only moved DummyTest to a new file.
There was a problem hiding this comment.
do not missunderstand my comment. I liked using composer to load the alias.
I was just worried about loading it for everybody with "production" settings.
There was a problem hiding this comment.
Yeah. It was.
I changed that so it is only loaded when the class is used.
72582e9 to
97a43db
Compare
|
The branch aliases are unrelated. I made them so the build is green |
No description provided.