Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set catalog feature flag for integration tests (pkgdb) #1436

Open
mkenigs opened this issue May 9, 2024 · 1 comment
Open

set catalog feature flag for integration tests (pkgdb) #1436

mkenigs opened this issue May 9, 2024 · 1 comment
Labels
team-cli Tickets relevant to the flox CLI team
Milestone

Comments

@mkenigs
Copy link
Contributor

mkenigs commented May 9, 2024

  • Assess any behaviors in groups.bats, lockfile.bats, and search.bats that are relevant to the catalog. Ensure they are tested in either the CLI or serverside that are impacted by the catalog and run them with the catalog feature flag set. Make any small changes required to get them passing
  • If anything that isn't minor breaks, create followup tickets
@mkenigs mkenigs added this to the Catalog 3 milestone May 9, 2024
@mkenigs mkenigs added the team-cli Tickets relevant to the flox CLI team label May 9, 2024
@mkenigs
Copy link
Contributor Author

mkenigs commented May 20, 2024

There should be serverside tests for:
groups.bats

  • packages in different groups can resolve to different pages
  • impossible constraints in the same group fails

search.bats

  • exact version works
  • semver tests:
    • range works
    • partial semvers work (18, 18.18)
    • * works (18.*)
  • prefer-pre-releases works
  • nodePackages gets searched

(testing of unfree and broken filtering are deferred until we implement that)

There should be a CLI test for:
lockfile.bats

  • the per package system field is handled correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-cli Tickets relevant to the flox CLI team
Projects
None yet
Development

No branches or pull requests

1 participant