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/ テストを追加する #100

Open
meganetaaan opened this issue Jan 8, 2023 · 4 comments
Open

Add tests/ テストを追加する #100

meganetaaan opened this issue Jan 8, 2023 · 4 comments

Comments

@meganetaaan
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

As the number of modules increases it is likely to find more regression, especially the variation of the same base class.

モジュールの数が増えるにつれて、特に同じベースクラスを持つ複数のクラス間でリグレッション(今まで動いていた機能が改修によって壊れること)が増えてきました。

Describe the solution you'd like

Add automated unit tests. Better if they are triggered by GitHub Actions. 

自動単体テストを追加します。GitHub Actionsでトリガーできるとなお良いです。

@meganetaaan
Copy link
Collaborator Author

I should read the official testing doc first.

@meganetaaan
Copy link
Collaborator Author

Wow, I didn't know that testmc supports graphics tests

https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/tools/testing.md#graphics-tests

This definitely helps to test avatar rendering features.

@meganetaaan
Copy link
Collaborator Author

test drawio

@meganetaaan
Copy link
Collaborator Author

We can use self-hosted runners to run hardware tests automatically and locally.

https://github.com/actions/runner

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

No branches or pull requests

1 participant