MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
|
Unit tests have different naming conventions. More...
Public Member Functions | |
testSomeMethod_testType () | |
Standard way of naming a test for someMethod when there are multiple tests for it. | |
provideSomeMethod_testType () | |
The dataProvider for the previous method. | |
helper_method () | |
This should still trigger an error. | |
Unit tests have different naming conventions.
FooTest::helper_method | ( | ) |
This should still trigger an error.
FooTest::provideSomeMethod_testType | ( | ) |
The dataProvider for the previous method.
FooTest::testSomeMethod_testType | ( | ) |
Standard way of naming a test for someMethod when there are multiple tests for it.
@covers Foo::someMethod