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

Automate testing of the doorbots #914

johnmckerrell opened this issue Sep 15, 2018 · 0 comments


Copy link

commented Sep 15, 2018

We've had another issue relating to the doorbots failing when the internet is down. This generally shouldn't happen but a recent addition (Slack integration) meant it did as there was a long timeout. I'm wondering if there would be a way to automate testing of scenarios such as this so that every code change to the system can be tested before (or at least alongside) deployment.

My original thought was that there might be a way to run logcards.rb inside a Docker instance, but I'm thinking the script needs to be broken into multiple seperate daemons in which case this might not be possible. An alternative could even be to use the ansible scripts to build and run a VM and do some testing inside that (wouldn't be particularly expensive to run automated testing against an actual Pi but you'd think that wouldn't be necessary!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.