tj09/test-utils
最新稳定版本:2.2.0
Composer 安装命令:
composer require tj09/test-utils
包简介
Mocking utils for test cases.
README 文档
README
Some common test utils used across projects. Likely not useful outside of projects that happen to use them.
Includes:
- MockFunctions A wrapper around
uopzto make it easy-ish to stub out functions in tests. - BaseTestCase Test case class that will clear mocks and APC after each test.
- TestPDO Allows copying an existing database's schema into temporary tables in another database, presenting a clean slate for tests.
- TestWithSnapshots Provides assertions for tests to assert that some data matches a previously-recorded state.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-29