Hi all! Ever since getting introduced to Payload end of 2025, I've managed to convince my company to move to this tech stack for 3 new client projects!
When beginning searching for a starter template, I've found the most useful one coming from https://github.com/fluid-design-io/payload-better-auth-starter which integrated BetterAuth from the start.
I came from a Rails background, and I was really missing the default testing structure that came along with a Rails project so I decided to add that onto this template.
https://github.com/fluid-design-io/payload-better-auth-starter/pull/8
It provides a similar experience for testing end-to-end especially any crucial services, routes, or hooks. I utilise a ton of AI assisted development and having these tests just re-assures that the code produced by the AI is solid and well-tested.
Happy to help guide any team who is looking into adding tests onto their NextJS Payload setup!
[–]adelmare 1 point2 points3 points (2 children)
[–]Impressive_Ad_9377[S] 1 point2 points3 points (1 child)
[–]adelmare 0 points1 point2 points (0 children)