MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
Loading...
Searching...
No Matches
FooTest Class Reference

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.
 

Detailed Description

Unit tests have different naming conventions.

Member Function Documentation

◆ helper_method()

FooTest::helper_method ( )

This should still trigger an error.

Returns
void

◆ provideSomeMethod_testType()

FooTest::provideSomeMethod_testType ( )

The dataProvider for the previous method.

Returns
void

◆ testSomeMethod_testType()

FooTest::testSomeMethod_testType ( )

Standard way of naming a test for someMethod when there are multiple tests for it.

@covers Foo::someMethod

Returns
void

The documentation for this class was generated from the following file: