Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
Other
487
stars
30
forks
source link
Failed infection test if bypass-final is enabled #29
Hello, I am using the library for infection testing https://infection.github.io/guide/ and if the bypass-final library is enabled the infections are not working as expected - the coverage test is not working properly.
example;
the case where bypass is disabled;
100% coverage of infection
the case where the bypass is enabled;
20-30% coverage.
Could you please take a look at what might be wrong?
Hello, I am using the library for infection testing https://infection.github.io/guide/ and if the bypass-final library is enabled the infections are not working as expected - the coverage test is not working properly. example; the case where bypass is disabled; 100% coverage of infection
the case where the bypass is enabled; 20-30% coverage.
Could you please take a look at what might be wrong?