Is there an existing issue for this?
Contact Details
No response
What should this feature add?
InvokeAI has extensive tests for the backend and middleware layers, but no framework at all for testing frontend functionality, including such vital components as graph construction.
This Issue is created to track progress in designing and developing a testing framework for the front end. I suggest we use the React Testing Library as a start, since it seems to be widely used. We will need a series of mocked services in order to simulate core middleware layer and typescript-based services, as well as a few examples to demonstrate how to write tests for the framework.
Alternatives
No response
Additional Content
No response
Is there an existing issue for this?
Contact Details
No response
What should this feature add?
InvokeAI has extensive tests for the backend and middleware layers, but no framework at all for testing frontend functionality, including such vital components as graph construction.
This Issue is created to track progress in designing and developing a testing framework for the front end. I suggest we use the React Testing Library as a start, since it seems to be widely used. We will need a series of mocked services in order to simulate core middleware layer and typescript-based services, as well as a few examples to demonstrate how to write tests for the framework.
Alternatives
No response
Additional Content
No response