- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在软件工程的背景下,什么是测试驱动程序?是调用其他函数并显示其输出以进行测试的 main() 函数吗?还是每个功能都有单独的测试驱动程序?
最佳答案
Is it the main() function that calls other functions, and displays their output, for testing?
本质上,是的;在software testing的范围内,测试驱动程序只是组织测试、运行测试并处理测试输出的包装器/机制。它通常更多用于 unit testing比说 QA 测试。
这很笼统,因为您通常会根据项目或团队的需要编写驱动程序。它可以是测试框架的一部分,但不是必须的。
Or is there a separate test driver for each function?
通常不会,不会。您的驱动程序旨在处理所有测试或一组测试。
关于testing - 究竟什么是试车手?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22082382/
Feel free to skip straight to TL/DR if you're not interested in details of the question 简短的序言: 我最近决定
我一直在阅读 A Tour of Go学习Go-Lang到目前为止一切顺利。 我目前在 Struct Fields类(class),这是右侧的示例代码: package main import "fm
Last time I got confused顺便说一下PowerShell急切地展开集合,基思总结了它的启发式如下: Putting the results (an array) within a
我是一名优秀的程序员,十分优秀!