- 授权协议: GPL
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: http://tutorialzine.com/projects/testify/
- 软件文档: https://github.com/marco-fiset/Testify.php
- 官方下载: https://github.com/marco-fiset/Testify.php
软件介绍
Testify(Testify.php) 是个极小的 PHP 5.3+ 单元测试框架。
代码示例:
require 'vendor/autoload.php';
use Math\MyCalc;
use Testify\Testify;$tf = new Testify("MyCalc Test Suite");$tf->beforeEach(function($tf) {
$tf->data->calc = new MyCalc(10);});$tf->test("Testing the add() method", function($tf) {
$calc = $tf->data->calc;
$calc->add(4);
$tf->assert($calc->result() == 14);
$calc->add(-6);
$tf->assertEquals($calc->result(), 8);});$tf->test("Testing the mul() method", function($tf) {
$calc = $tf->data->calc;
$calc->mul(1.5);
$tf->assertEquals($calc->result(), 12);
$calc->mul(-1);
$tf->assertEquals($calc->result(), -12);});$tf();
嵌入式Linux应用程序开发详解
孙琼 / 人民邮电出版社 / 2006-7 / 46.00元
《嵌入式Linux应用程序开发详解》主要分为3个部分,包括Linux基础、搭建嵌入式Linux环境和嵌入式Linux的应用开发。Linux基础部分从Linux的安装过程、基本操作命令讲起,为Linux初学者能快速入门提供了保证。接着系统地讲解了嵌入式Linux的环境搭建,以及嵌入式Linux的I/O与文件系统的开发、进程控制开发、进程间通信开发、网络应用开发、基于中断的开发、设备驱动程序的开发以及......一起来看看 《嵌入式Linux应用程序开发详解》 这本书的介绍吧!
