From the course: Node.js: Testing and Code Quality

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Testing frameworks

Testing frameworks

- [Instructor] I've described several different ways of testing software, unit, integration, and even functional testing can be automated using a framework. But how does automation work? Test automation is separate software from the application that is being written and tested. Test automation has multiple purposes. First, it controls test execution including order of execution and filtering of tests based on a criteria. The goal is to avoid repetitive tasks that are inherent with manual tests execution. With that context, a testing framework, also known as a testing automation framework, is an execution environment for automated tests. A testing framework is useful for a number of reasons. A testing framework performs helpful tasks, starting with a consistent definition of how assertions are defined, which promotes maintainability. They control and interact with the tested application. A testing framework executes…

Contents