Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Component Specs #177

Open
parzival418 opened this issue Apr 9, 2022 · 0 comments
Open

Component Specs #177

parzival418 opened this issue Apr 9, 2022 · 0 comments

Comments

@parzival418
Copy link
Contributor

We need a component runner for Thoth that allows us to run a single component and make tests. This will enable unit testing for component development and enable a TDD approach to developing individual components.

The spec should allow us to run jest and make assertions about how a component should behave. It should be able to also provide a mock Thoth Interface to spy on worker functions and avoid calling live API endpoints.

The new SpellRunner should make this simpler. It is likely that the runner for specs would have to provide some kind of a node JSON structure. Ways to easily programmatically set up stats into the nodes data may also be required for this.

Sent with GitHawk

DavinciDreams pushed a commit to alexandriatwo/thoth that referenced this issue Jul 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant