SciFiFarms / TechnoCore

TechnoCore: an IoT stack powered by Docker Swarm
GNU General Public License v3.0
20 stars 1 forks source link

Find and implement a testing framework #6

Open TheHackmeister opened 6 years ago

TheHackmeister commented 6 years ago

Start by looking for a framework for testing MQTT in some way. If that doesn't exist, look for something more generic; a framework for API testing might be usable. Alternatively, there might be value in a framework for testing microservices or container networks.

One way to test TechnoCore is to create a test swarm with fake devices outputting and receiving MQTT messages.

TheHackmeister commented 6 years ago

It makes sense to try and use the same code for testing as for health checks: #7

TheHackmeister commented 5 years ago

Thing to test should include:

TheHackmeister commented 5 years ago

Some thoughts on behavior driven dev tools: https://opensource.com/article/19/2/behavior-driven-development-tools

TheHackmeister commented 5 years ago

When these are implemented, we should also add badges to the README.md with build status, code coverage... Be thinking about what other badges to include.

TheHackmeister commented 5 years ago

I'd consider using GoCD for the CI/CD runner.