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

Split test library #60

Open
Odonno opened this issue Nov 14, 2023 · 0 comments
Open

Split test library #60

Odonno opened this issue Nov 14, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Odonno
Copy link
Owner

Odonno commented Nov 14, 2023

Is your feature request related to a problem? Please describe.

Related to #58, testing can be tedious and there is some critical paths about tests:

  • tests should run fast (less than 10s), so they should run in parallel
  • tests on "branches" feature cannot be run in parallel because they use the same namespace/database in a SurrealDB instance

Describe the solution you'd like

If possible, split test library into 2 or 3:

  • one for "standard" tests
  • one for "e2e" tests (longer test, with waiting time)
  • one for each limited scope tests, so one for "branches" tests

Describe alternatives you've considered

Use flags with cargo-nextest. Need first to migrate to this tool. #59

Additional context

N/A

@Odonno Odonno added enhancement New feature or request help wanted Extra attention is needed labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant