... 自动覆盖测试(Swarm testing) 代码安全测试(Security via suspicious systems) 以查询为基础的数据模型(Query-based data) ...
基于20个网页-相关网页
这种方法根本不会产生安全的代码,因为您无法创建足够多的测试来涵盖攻击者能做到的所有稀奇古怪的事情。
That approach simply won't produce secure code, because you can't create enough tests to represent all the odd things an attacker can do.
对于代码中真正关键的部分,可能需要在进行重构之前添加一些功能测试作为一种安全保障。
For really critical sections of your code, you might consider adding some functional tests as a safety net before you start refactoring.
单元测试可以提供最重要的安全屏障,允许您按照自己的意愿重构代码库。
Unit tests represent the primary safety net that allows you to refactor your code base at will.
应用推荐