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

Speed up test setup using import endpoint #916

Open
ptitFicus opened this issue Dec 14, 2024 · 0 comments
Open

Speed up test setup using import endpoint #916

ptitFicus opened this issue Dec 14, 2024 · 0 comments

Comments

@ptitFicus
Copy link
Member

Current backend / frontend tests builders intialize test situation using unitary endpoints (as if situation was set up through backoffice). This is kind of slow, for instance to create a project with 3 features, it needs:

  • 1 call to project creation endpoint
  • 3 calls to feature creation endpoints

This is not optimal, a best way would be to create an in memory ndjson file and import it, needing a single http call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant