I'm writing unit tests with PHPUnit.
I now have about 100 methods written.
Since these are for a Kohana framework application, I used its naming convention for the test methods as well, e.g.:
function test_instance()
{
...
}
function test_config()
{
...
}
All my tests run fine in Eclipse and from the command line.
However, I now need to use a setup function and realized that it only works when named:
function setUp()
{
...
}
and not:
function set_up()
{
...
}
Now I am wondering if I will have any disadvantages down the road if I don't rename all of my PHPUnit methods so that they are camel case, e.g. do other tools that use PHPUnit excect the method names to be in camelcase notation?