GitLab is a popular JavaScript library for building user interfaces. In this tutorial, I'll show you how to create a new React application with GitLab React. Run unit tests as part of the CI process in GitLab, and output the test results and code coverage into the pipeline. Define a test stage for your pipeline by adding the following code to your.gitlab-ci.yml file.

4m read timeFrom about.gitlab.com
Post cover image
Table of contents
PrerequisitesGetting startedCreate the React appTesting your applicationAdd unit test reporting and coverageAdd unit tests to your CI pipelineRelated Posts

Sort: