Skip to content
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

Refactor editor-api ability unit tests #448

Open
danhalson opened this issue Oct 10, 2024 · 0 comments
Open

Refactor editor-api ability unit tests #448

danhalson opened this issue Oct 10, 2024 · 0 comments

Comments

@danhalson
Copy link
Contributor

danhalson commented Oct 10, 2024

There are multiple approaches being used in the ability spec in editor-api at the moment, which makes it hard to reason about and we are definitely missing coverage in places.

There are multiple approaches but as a prompt these are worth considering:

  • Test from a resource / model perspective, and break them down per user
  • Test from a user perspective, ensuring each ability is individually tested

Whichever we choose I think consistency will be key to ensure each ability has good coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant