我讀這個博客帖子:http://www.shakie.co.uk/ramblings/feature-driven-development-riding-the-waves-of-change/和遇到有關TestDox部分:敏捷文檔框架(NTestDox?)
直接引用(因此PHP):
看看下面的測試案例作爲 例如
class InvoiceTest extends PHPUnit_Framework_TestCase
{
public function testValueIsInitiallyZero() {
$invoice = new Invoice();
$this->assertEquals(0.00, $invoice->getValue());
}
public function testWillCloseAutomaticallyIfWholeValueIsPaid() {
$invoice = Invoice::getInvoiceById(1);
$invoice->payAmount(100.00);
$this->assertEquals(true, $invoice->isClosed());
}
}
在TestDox格式這將 翻譯爲:
發票
[X]值最初爲零
[X]如果整個值支付
這將是自動關閉對我正在開發的一些更敏捷的項目非常有幫助。我一直在看TestDox,並試圖追蹤NTestDox,因爲我是一個.NET人。
3個問題在這裏什麼人
任何人都找到NTestDox的副本? (我看到的頁面不上谷歌的唯一有用的結果存在)從單位
- http://www.emxtechnologies.com/ntestdox
- http://www.projectdistributor.net/projects/Project.aspx?projectId=87
正在生成文檔測試一個很好的計劃?
有誰知道.NET的任何其他框架?