Codeception / Codeception/AspectMock
How I can delete all final keywords from my class and methods
- Dominant language
- PHP
- Stars
- 784
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
I'm talking about: http://php.net/manual/en/language.oop5.final.php
Why I need this: https://phpunit.de/manual/current/en/test-doubles.html
Final, private and static methods cannot be stubbed or mocked. They are ignored by PHPUnit's test double functionality and retain their original behavior.
Off course I want to delete "final" only during a test execution.
Contributor guide
No contributing guide indexed for this repository
Research direction
Read the PHP final-method documentation and PHPUnit's test-doubles section first. Define the intended behavior as removing final only during test execution, then determine how AspectMock should cover classes and methods that currently cannot be stubbed or mocked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100