English 中文(简体)
模拟商业物体的情况
原标题:The case for mocking business objects

我正试图看到破坏业务层的好处。 在测试时,你正在核实你的业务逻辑,因此你需要改变数据层。

因此,缩小商业层面的好处是什么?

最佳回答
问题回答

如果你在报告层对一些代码进行单位测试,你可能会想改变商业层面。 您在这项测试中模拟了您的法典中的内容。





相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签