-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Subject
Plugins
Description
We are working on a public API for third party CT framework definitions.
Epic: cypress-io/cypress#25637
Implementation: cypress-io/cypress#25780
This issue is for tracking documentation relating to this. The CT team will take responsibility for writing the docs. The technical brief described the public API in great detail: https://github.com/cypress-io/engineering-documentation/tree/main/tech-briefs/ct-public-api.
The documentation should include:
- Explain how to build a third party integration (guidelines, what is required, why, how it will show up in Cypress)
- Link to a template to make it easy for developers to follow the guidelines
- Any known caveats/recommendations
- A section that showcases known third party definitions (can be empty for now - add a CTA, like "Want to share an integration? Make a PR!)
Some examples that might be useful when documenting the feature:
- solid.js https://github.com/lmiller1990/cypress-ct-solid-js by @lmiller1990
- preact https://github.com/astone123/cypress-ct-test-preact by @astone123
Note: neither of these are production ready (no tests, no docs, probably have bugs) but they serve as examples on a minimal implementation, which I think is fine for documentation purposes. Once we have more fully fledged third party integrations, we can include those as good examples.