Azathoth42

Nette Testcase

Jun 30th, 2015
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Test: \\Tests\\${NAME}${DESCRIPTION}.
  4.  *
  5.  * @testCase \\Tests\\${NAME}Test
  6.  * @author Matěj Račinský
  7.  */
  8. namespace Tests;
  9.  
  10. use Nette;
  11. use Tester;
  12. use Tester\Assert;
  13.  
  14. ${DS}container = require_once __DIR__ . '/bootstrap.php';
  15.  
  16. /**
  17.  * @author Matěj Račinský
  18.  */
  19. class ${NAME}Test extends Tester\TestCase {
  20.     public function setUp() {
  21.     }
  22.    
  23.     public function test() {
  24.     }
  25. }
  26.  
  27. ${DS}test = new ${NAME}Test(${DS}container);
  28. ${DS}test->run();
Advertisement
Add Comment
Please, Sign In to add comment