I am writing unit tests using PHPUnit .
Now I have written about 100 methods .
Since they are intended for the Kohana application, I used the naming convention for test methods, for example:
function test_instance() { ... } function test_config() { ... }
All my tests work fine in Eclipse and from the command line.
However, now I need to use the setup function and realized that it only works with the name:
function setUp() { ... }
and not:
function set_up() { ... }
Now I am wondering if I will have any shortcomings in the future if I do not rename all my PHPUnit methods so that they are a camel body, for example. do other tools that use PHPUnit exclude method names, which should be in the form of camel marking?
source share