mercredi 24 mai 2017

phpunit tutorial is not showing the correct number of assertions

I'm currently doing this tutorial

http://ift.tt/1hlOHPv

After I create the phpunit test

<?php

namespace phpUnitTutorial\Test;

class URLTest extends \PHPUnit_Framework_TestCase
{
//
}

I run it and predictably, I get an error. However, I should be getting Tests: 2 and Assertions: 1 instead, I'm getting 1 test and 0 assertions.

Aucun commentaire:

Enregistrer un commentaire