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

Better testing? #171

Open
raman325 opened this issue Mar 24, 2021 · 1 comment
Open

Better testing? #171

raman325 opened this issue Mar 24, 2021 · 1 comment

Comments

@raman325
Copy link
Collaborator

The conversation around the upgrade to zwave-js 7.0.0 has me wondering if there is a way to better test different schema versions as we add support for them. Right now, our approach is to do user testing, it would be great to be able to have some sort of automated testing in place. Any ideas?

@balloob
Copy link
Collaborator

balloob commented Mar 24, 2021

A good start would be to expand our integration test to connect with different schema versions and compare output. We first would need to a add a mock node to our stub data though, right now it's very basic https://github.com/zwave-js/zwave-js-server/blob/master/src/test/integration.ts

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

2 participants