Hello, I am new to bubble.io and was wondering if your ecosystem has a built-in way to run unit tests against the API workflows, E2E tests against the webapp. I know there are third party applications like Playwright, wondering if there is something native to your eco-system though. Also the pre-flight link in another post seems to be outdated.
Thank you in advance for your answer, I apologize if this is duplicated.
Even if duplicated, this topic is forever relevant. Welcome and thanks for posting.
There is no way to test natively. The only things that Bubble offers is type-checking via the Issues thingy.
Random:
- I’ve tried to build a test suite with Playwright, but that can be sooo time consuming. It became easier just to rebuild the app in code.
- I once tried to build some backend workflows to test, but without some key primitives
assert, refute, and db manipulation it became too painful.
scan.bubble.io has a feature that can call a webhook when you deploy to a certain environment. I thought of using that to create a CI/CD pipelines of sort calling the backend workflow that does the testing, but… I’ve not got around to it yet.
1 Like
This seems a bit too coordinated for my suspicious taste, but look at what just dropped today: Automated Q/A testing tool for Bubble apps
2 Likes
Thank you Rico! No definitely not coordinated. Thanks again for your response and posting the topic!