lundi 22 octobre 2018

Use strings as unit test names in PHP

There are some frameworks for languages other than PHP that allows one to use strings to describe tests.

Something like this:

"this is the first requirement of this code" {
    assert(true, true);
}

I wonder if there is anything similar for PHP? If so, which lib? Can someone do it with PHPUnit?

Best

Aucun commentaire:

Enregistrer un commentaire