Skip to content

[enhancement]: Testing framework for front end #9019

@lstein

Description

@lstein

Is there an existing issue for this?

  • I have searched the existing issues

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions