Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests #61

Open
TGRHavoc opened this issue May 23, 2021 · 2 comments
Open

Add tests #61

TGRHavoc opened this issue May 23, 2021 · 2 comments

Comments

@TGRHavoc
Copy link
Owner

TGRHavoc commented May 23, 2021

At the moment there's no tests. I'm just opening up the webpage on a local server and clicking around.

It would be nice to have tests to test the various modules and the interaction they have with the DOM.

Jest has a VDOM that we can use for the DOM interaction testing.

@TGRHavoc
Copy link
Owner Author

TGRHavoc commented Jun 9, 2021

I think utilizing something like jest-fuzz would also be nice to see if random stuff breaks.

Would be nice to test more than just ASCII strings though

@TGRHavoc
Copy link
Owner Author

TGRHavoc commented Sep 7, 2021

Woop.
This repo now uses Github actions to automate the testing and deployment (hopefully).

The current workflow is as follows:

  • Create a branch for a new feature/fix etc
  • Send a PR to develop branch
  • Tests will run
  • If the tests complete, merge into develop branch
  • When enough merges are done to develop, merge it into master
  • This merge should automatically bundle and deploy the code to github-release

Hopefully tests will make everything run a bit smoother in terms of releasing new features etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant