# Test bench

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Test_bench
> Markdown URL: https://mediated.wiki/source/Test_bench.md
> Source: https://en.wikipedia.org/wiki/Test_bench
> Source revision: 1157693735
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

Controlled environment used to verify the correctness of a design or model

This article needs more citations. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Test bench" – news · newspapers · books · scholar · JSTOR (January 2013) (Learn how and when to remove this message)

A **test bench** or **testing workbench** is an environment used to verify the correctness or soundness of a design or model.

The term has its roots[*[citation needed](https://en.wikipedia.org/wiki/Wikipedia:Citation_needed)*] in the testing of electronic devices, where an engineer would sit at a lab bench with tools for measurement and manipulation, such as [oscilloscopes](/source/Oscilloscope), [multimeters](/source/Multimeter), soldering irons, wire cutters, and so on, and manually verify the correctness of the [device under test](/source/Device_under_test) (DUT).

In the context of software or firmware or hardware engineering, a test bench is an environment in which the product under development is tested with the aid of software and hardware tools. The software may need to be modified slightly in some cases to work with the test bench but careful coding can ensure that the changes can be undone easily and without introducing bugs.[1]

The term "test bench" is used in digital design with a [hardware description language](/source/Hardware_description_language) to describe the test code, which instantiates the DUT and runs the test.

An additional meaning for "test bench" is an isolated, controlled environment, very similar to the production environment but neither hidden nor visible to the general public, customers etc. Therefore making changes is safe, because final users are not involved.

## See also

- [Sandbox (computer security)](/source/Sandbox_(computer_security))

- [Test harness](/source/Test_harness)

## References

1. **[^](#cite_ref-1)** ["Computers as Components third edition: Home"](https://web.archive.org/web/20140222211533/http://www.marilynwolf.us/CaC3e/). Archived from [the original](http://www.marilynwolf.us/CaC3e/) on 2014-02-22. Retrieved 2014-02-16.

This computer science article is a stub. You can help Wikipedia by adding missing information.

- [v](https://en.wikipedia.org/wiki/Template:Comp-sci-stub)
- [t](/source/Template_talk%3AComp-sci-stub)
- [e](https://en.wikipedia.org/wiki/Special:EditPage/Template:Comp-sci-stub)

---
Adapted from the Wikipedia article [Test bench](https://en.wikipedia.org/wiki/Test_bench) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Test_bench?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
