Formal methods for verification of programs are extended to testing of programs. Their combination is intended to lead to benefits in reliable program development, testing, and evolution. Our geometric theory of testing is intended to serve as the specification of a testing environment, included as the last stage of a toolchain that assists professional programmers, amateurs, and students of Computer Science. The testing environment includes an automated algorithm which locates errors in a test that has been run, and assists in correcting them. It does this by displaying, on a monitor screen, a stick diagram of causal chains in the execution of the program under test. The diagram can then be navigated backwards in the familiar style of a satnav following roads on a map. This will reveal selections of places at which the program should be modified to remove the error.
翻译:程序验证的正式方法扩大到测试程序。 它们的结合意在为可靠的程序开发、测试和进化带来好处。 我们的几何测试理论旨在作为测试环境的规格, 包括作为帮助专业程序设计员、业余人员和计算机科学学生的工具链的最后一步。 测试环境包括一个自动算法, 它将所运行的测试错误定位在已经运行的测试中, 并帮助纠正这些错误。 它通过在监视屏幕上显示一个在测试中执行程序过程中的因果链的粘图来完成。 该图表随后可以以地图上路径上的卫星导航的熟悉风格向后浏览。 这将显示程序应被修改以消除错误的地点的选择 。