The need for a test library #3348
GeorgeHulpoi
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
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.
-
It feels very strange to me how Payload is dealing with testing and is even unstable. For example, to build a plugin you have to create a
dev
with a boilerplate project and create tests.A better approach would be to have a folder called
tests
, and add the*.spec.ts
files. In this way, you don't have to base on a boilerplate project (which can suffer modifications at every version of Payload).My suggestion would be to create a package for testing, where this boilerplate project lives. A similar approach would be how Angular is dealing with tests.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions