-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Rework the Unit testing page for Strapi 5 #2712
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Hey, it's great you're updating the testing page. This section: https://documentation-git-cms-testing-reworked-strapijs.vercel.app/cms/testing#set-up-a-testing-environment When I have two different files for the database config, only one of them ends up in
Basically if I run Hopefuly this helps somehow. |
Is there a way to bootstrap the sqlite db based on a template? My API tests expect some data already configured. |
Hi @ancashoria, thanks for your interest and kind words regarding this PR :) To be honest, I only have basic experience with testing, but as a technical writer for Strapi, I’m doing my best, with the help of AI-based tools, to update this page. I’m afraid your feedback points to issues that are a bit beyond my current skill set, but I’ll try to get help from Strapi engineers to improve the PR (it still needs their review, anyway 👀). I’ll keep you posted! |
This PR merges content from 2 blog posts published on Unit testing and tries to update them for Strapi 5
TODO:
Direct preview link 👉 here