question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testing the new resolver (test suite, CI)

See original GitHub issue

Now 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:

  1. How do we have a more general mechanism that allows us to run tests with both old and new resolvers?
  2. 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)?
  3. 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:closed
  • Created 4 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
pfmoorecommented, Jun 18, 2020

@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… 🙄

0reactions
pradyunsgcommented, Oct 8, 2020

I’d say before. 😃

I’m considering that a part of #8937.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found