当我尝试用webtest在我的开发服务器上运行gaeunit时,我得到了这个错误。No module named webtest Status: 404 Not Found Content-Type: text/html; charset=utf-8 Cache-Control: no-cacheContent-Length: 23 No module named webtest
我使用gae单元从这个Google App Engine文档中运行测试。
我正在使用微软的WebTest,并希望能够做一些类似于NUnit的Assert.Fail()。除了在WebTest上设置一个私有成员变量以指示故障之外,还有什么是我遗漏的吗?编辑:我也使用了Assert.Fail()方法,但是当从WebTest内部使用时,这仍然显示为错误而不是失败,并且Outcome属性是只读的(没有公共设置程序)。public static class WebTestExtensions public static void Fa