PHPUnit @dataProvider simply doesn't work

前端 未结 8 1768
后悔当初
后悔当初 2021-02-01 16:04

I\'ve read the documentation on the topic, and my code follows all requirements of a data provider implementation. First of all, here\'s the full code of the test just in case i

8条回答
  •  旧时难觅i
    2021-02-01 16:30

    Make sure that dataProvider is spelled right... @dataProvidor vs @dataProvider

    In the test function which needs a data provider, a docblock is needed which contains

    /**
    * @dataProvider providerItCanTest
    *//
    

提交回复
热议问题