PHPUnit: Unit Testing with a Bite!
Filtering Out Hungry Dino's
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Check out the following test:

class DinoProtectorTest extends TestCase
{
    /** @dataProvider getHumanTests */
    public function testDinosDontEatMostHumans(int $tastinessOfHuman, bool $expectedEatenStatus): void
    {
        // ...
    }

    public function getHumanTests(): \Generator
    {
        yield 'yucky_humans_no_way' => [0, false];
    }
}

Which of the following would not result in our test being executed?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.