woocommerce/tests/includes/code-hacking
Nestor Soriano 9a5b3b353d Add the @hack code annotation for tests.
Now @hack class and method annotations can be used to register
code hacks as an alternative to using before_ methods.
The syntax is /* @hack HackClassName param1 param2 */
where parameters will be passed to the class constructor.
If the class name ends with "Hack", then that suffix can be
omitted (e.g. "Foo" can be specified instead of "FooHack").
2020-05-20 09:56:25 +02:00
..
hacks Barebones implementation of a code hacker for unit tests. 2020-05-20 09:56:25 +02:00
code-hacker-test-hook.php Add the @hack code annotation for tests. 2020-05-20 09:56:25 +02:00
code-hacker.php Barebones implementation of a code hacker for unit tests. 2020-05-20 09:56:25 +02:00