- 授权协议: MIT
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: http://peridot-php.github.io/
- 软件文档: http://peridot-php.github.io/
软件介绍
Peridot 是一个支持 PHP 5.4+ 的高可扩展、用起来很方便的 PHP 测试框架。Peridot 让测试更加有趣。开发者可以创建插件,自定义测试报告等。
特性:
灵活的测试接口
事件驱动的插件架构
可轻松添加用户定义的命令行参数
轻松创建自定义测试报告
基于异常的 Pass/fail
通过子范围实现功能混入
可创建你自己的测试 DSL
示例:
<?php //arrayobject.spec.php
describe('ArrayObject', function() {
beforeEach(function() {
$this->arrayObject = new ArrayObject(['one', 'two', 'three']);
});
describe('->count()', function() {
it("should return the number of items", function() {
$count = $this->arrayObject->count();
assert($count === 3, "expected 3");
});
});
});
?>
$ peridot arrayobject.spec.php
ArrayObject
->count()
✓ should return the number of items
1 passing (19 ms)
The Intersectional Internet
Safiya Umoja Noble、Brendesha M. Tynes / Peter Lang Publishing / 2016
From race, sex, class, and culture, the multidisciplinary field of Internet studies needs theoretical and methodological approaches that allow us to question the organization of social relations that ......一起来看看 《The Intersectional Internet》 这本书的介绍吧!
