How to perform integration testing in PHP?

后端 未结 3 1653
余生分开走
余生分开走 2021-02-02 09:48

I am currently performing unit tests on my code (using PHPUnit and Jenkins) but I have read a lot about integration testing.

  • Are there any tools to perform this

3条回答
  •  别跟我提以往
    2021-02-02 10:29

    In case you want to whitebox test specific classes that interact with infrastructure, I've created a PHPUnit extension for it.

    https://github.com/hrodic/php-integration-testing

    It's minimal and simple. You just need to have PHPUnit.

提交回复
热议问题