2014-05-25 115 views
2

我有点问题。我正在编写并不断开发ASP.NET MVC应用程序。问题是,每次我更新我们网站的一小部分(甚至没有与我们的数据库做任何事情),它似乎在网站的其他部分突破了其他4件事。我一直在尽我所能来预测它,但最终,我知道有更好的方法来测试,我只是想知道最佳实践的一般共识是什么?正确的测试方法

谢谢!

+0

您应该在查找解决方案之前找到问题。这是一个糟糕的代码或错误的测试问题吗? –

+0

目前,这是一个没有任何合适的测试结构的问题。 – Jack

回答

0

总之 - 没有组织的答案!

Have a plan. 
Know what the change is. 
Document what you are going to test and why. 
Maintain a test suite (Regression) to execute after all major changes. 
Keep improving your test cases and adding the ones you missed 
(there should be a test case associated with all your bugs. 
This will ensure the same bug doesn't get introduced due to regression. 

而且像你说的有一个适当的结构,确保流程的实施,有更好的代码审查(捉虫子,他们得到在提交前),并保持阅读了很多关于这一切。

此答案已公开进行编辑以使其更好。

+0

什么是字体着色? :\ –

相关问题