Types of Tests to Execute When Deploying to Staging Environment
Explore the three main types of tests to execute during deployment to a staging environment: static validation that checks code without running applications, application-specific tests that focus on features using mocks or limited dependencies, and system-wide validations that test integration and performance across the full system. This lesson helps you understand when and where to run each test type to optimize CI/CD pipelines with Jenkins X.
I often see that teams I work with get confused about the objectives of each type of test and that naturally leads to those tests being run in incorrect locations and at the wrong time. Don’t get your hopes too high. If you think that I’ll give you the precise definition of each type of test, you’re wrong. Instead, I’ll simplify things by splitting them into three groups.
Static validation
The first group of tests consists of those that don’t rely on live applications. I’ll call them static validation, and they can be unit tests, static analysis, or any other type that needs ...