If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency: ...
You don't have to modify CodeIgniter core files at all. You can write controller tests easily. Nothing is untestable, maybe. Well documented. codeigniter/ ├── application/ │ └── tests/ │ ├── ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果