Testing the new resolver (test suite, CI)
See original GitHub issueNow that we have at least the start of the new resolver in place, we need to consider how we integrate it into the test suite. I’ve modified one of the very basic install tests to run twice, once with the legacy resolver and once with --unstable-feature=resolver
, but this obviously isn’t a scalable approach.
Some issues we therefore need to consider:
- How do we have a more general mechanism that allows us to run tests with both old and new resolvers?
- How do we handle tests that use feaures the new resolver doesn’t have implemented yet (effectively
xfail
for the new resolver, but not for the current one)? - How do we cater for tests where we expect different results? (Tests that rely on quirks of the legacy resolver, explicit tests of new resolver functionality, …)
Ultimately, we want the full test suite to be run for both resolvers, so that we have a good regression test ensuring that we have feature parity, but we’re likely a good way from that position yet. But the only way to know for sure how much there still is to do is to (reasonably regularly) run the full suite with the new resolver.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
A Breakdown of Continuous Integration Testing - Harness
Testing in the CI process allows for rapid feedback, and by design ... The quintessential tests that are run with new features or...
Read more >5 software testing strategies to build into your CI/CD pipeline
Thorough and effective testing is essential to keep evolving software up to date with industry and other standards.
Read more >Continuous Integration (CI) Testing - Iris - Read the Docs
If the resolved environment has changed, a pull request is created with the new lock files. The CI test suite will run on...
Read more >Five Types of Regression Testing in CI/CD - Digitate
After these test-suites are generated, QA engineers or software testers can perform Regression Testing by executing the test case based on their requirements....
Read more >Run automated tests from test plans - Azure ... - Microsoft Learn
Prerequisites; Set up your environment; Run the automated tests ... or you have a new build that includes fixes for failed tests.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pradyunsg Can you take a look at my comment on #8462? I swear I tried to pick a simple one, and it turned complicated. I think I’m jinxed… 🙄
I’d say before. 😃
I’m considering that a part of #8937.