Replies: 1 comment
-
Hey @weretyczx! 👋🏻 We had AdonisJS Sink for AdonisJS 5. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, gm 👋
I’m currently developing a package for Adonis v5 and ran into some challenges.
For example, let’s take building a passkey package:
In the test environment, I need to verify whether the package is working correctly:
Check if the service provider is properly registered
Test different config variations
Validate whether the validation rules work
Confirm if the router is registered
Ensure migrations are auto-loaded and database data can roll back correctly
At the moment, I haven’t found any helper tools for this (or maybe I’m still too new to know what’s available — if so, please recommend some 🙏).
Without such support, it feels a bit painful to manually bootstrap the Adonis core every time just to test these scenarios.
In Laravel, there’s something like orchestral/testbench
, which allows package developers to focus on testing their packages without relying on the entire framework.
👉 Is there anything similar in the Adonis ecosystem that can help package developers speed up testing and contribute to the community more efficiently?
Beta Was this translation helpful? Give feedback.
All reactions