CoverGuy.php 887 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Inherited Methods
  4. * @method void wantToTest($text)
  5. * @method void wantTo($text)
  6. * @method void execute($callable)
  7. * @method void expectTo($prediction)
  8. * @method void expect($prediction)
  9. * @method void amGoingTo($argumentation)
  10. * @method void am($role)
  11. * @method void lookForwardTo($achieveValue)
  12. * @method void comment($description)
  13. * @method void haveFriend($name, $actorClass = null)
  14. *
  15. * @SuppressWarnings(PHPMD)
  16. */
  17. class CoverGuy extends \Codeception\Actor
  18. {
  19. use _generated\CoverGuyActions;
  20. /**
  21. * Define custom actions here
  22. */
  23. public function seeCoverageStatsNotEmpty()
  24. {
  25. $this->seeInShellOutput(
  26. <<<EOF
  27. index
  28. Methods: 50.00% ( 1/ 2) Lines: 50.00% ( 2/ 4)
  29. EOF
  30. );
  31. $this->seeInShellOutput(
  32. <<<EOF
  33. info
  34. Methods: 100.00% ( 1/ 1) Lines: 100.00% ( 4/ 4)
  35. EOF
  36. );
  37. }
  38. }