Implementing the new frameworks
The implementation process guides us further on how frameworks in JavaScript can be created. In this implementation process, we’ll see the different entry points of a test runner combined with distinguishable features. This section roughly follows the diagram in Figure 6.2, where we outlined the framework design. Now that we know our features and have a rough idea of the project’s architecture, let’s broadly outline the steps of the internal implementation of this project, as follows:
- Determine how the designed test suite configuration can be implemented within the Node.js environment.
- Create internal packages to execute the test suites in different environments.
- Implement the infrastructure for real web browser-mode testing.
- Collect results from the test runner and output them to the user.
Following steps 1 to 4, we begin our implementation by examining how our tests are structured and executed. In the...