![]() It also shows the total code coverage for this class at the bottom. ![]() All Apache NetBeans source code is freely available to build yourself, or you can download (unsupported) daily development builds. The light green lines are code that has been reported as covered by PHPUnit, the red lines as code that has not been covered. Older Apache NetBeans releases can still be downloaded, but are no longer supported. Here’s a screenshot below of my editor ( Netbeans) displaying the code coverage in-line. You can have the code coverage reported in a HTML document in your browser, or directly in your IDE. After running the tests on your code, you can optionally have it configured so that it also outputs code coverage, to enable this you will need to install and configure the xDebug PHP extension. Fairfax County police received 25 calls for service in less than two years to the house of a man who was charged with attacking two staffers of Rep. You can test almost every aspect of your application using a similar approach as above. This is a very basic example, but hopefully you understand how powerful this can be. ![]() ** * A simple Symfony PHPUnit example test */ public function testPageLoadsOKwithHelloWorld ()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |