gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

Perform preliminary research and develop a solution for automatic API reference generation or typings #877

Open shadowusr opened 5 months ago

shadowusr commented 5 months ago

Contribution

Describe the user story

Right now, our public API reference and typings are defined separately. Because of this, we have to manually write both docs and typescript types for our public API. Sometimes they get out of sync.

This needs to be solved by introducing automatic generation of either docs by code or code by docs.

Describe the solution you'd like

We can take one of two routes:

I'd personally take the docs-first approach for the following reasons:

DoD:

Describe the drawbacks of your solution

No response

Describe alternatives you've considered

No response