【问题标题】:phpunit with codeigniter3 in ubuntuubuntu中带有codeigniter3的phpunit
【发布时间】:2017-03-16 21:45:46
【问题描述】:

我正在使用 Codeigniter 3,我在 ubuntu 中安装了 phpunit,但无法使用 phpunit 的类出现致命错误。

现在我想检查一下 phpunit 是否正确安装?

如果已安装,那么如何在 codeigniter 应用程序中使用它?

【问题讨论】:

  • 你能发布你得到的错误吗?

标签: php codeigniter


【解决方案1】:

您可以使用 CIUnit 将 PHPUnit 与 CodeIgniter 集成。有关为什么需要 CIUnit 的更多详细信息,请参阅:

Why is CIUnit needed in order to use PHPUnit with CodeIgniter?

要了解有关 CIUnit 的更多信息,请访问: https://bitbucket.org/kenjis/my-ciunit/overview

将 codeIgniter(3) 与 PHPUnit 集成的示例代码: How do I use PHPUnit with CodeIgniter?

这也可能对您有所帮助 How do I use PHPUnit with CodeIgniter 3

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2012-02-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-12-13
  • 1970-01-01
  • 1970-01-01
  • 2012-04-21
相关资源
最近更新 更多