kenjis / codeigniter-cli

Cli for CodeIgniter 3.0
MIT License
94 stars 21 forks source link

remove code #6

Closed ftwbzhao closed 9 years ago

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 95.57% when pulling 66ee3dcac35169fcf8e823aa18fdeb0fb47876a2 on ftwbzhao:feature/test/usercommand into 804fe7b5e92975836b76e17d58f422b300418cff on kenjis:master.

kenjis commented 9 years ago

All tests passed. But why is class Test loaded?

ftwbzhao commented 9 years ago

Because of

<testsuites>                                                                                                           
        <testsuite>                                                                                                        
            <directory suffix="Test.php">tests</directory>                                                                 
        </testsuite>                                                                                                       
</testsuites>                                                                                                          

Autoload suffix="Test.php" files

https://github.com/sebastianbergmann/phpunit/blob/master/src/TextUI/Command.php#L623

kenjis commented 9 years ago

Thank you! But it is a bit tricky.