openag_brain
openag_brain copied to clipboard
Testing/Debugging: Create an all Green test suite to check basic functionality (3d)
RedPepper needs a machine that is always up and running to use for development. It is very time consuming to log into a machine and run through a a few checks manually to see why it isn't responding.
for both couchdb and openag_brain: Is docker running? Or is it running on the machine itself?
Is the recipe starting correctly? Did the lights actually turn on? etc
Suggestion: Create tests to: Check if openag_brain is running by hitting the _openag/api/0.0.1/service end point. Check if couchdb is running Check if a recipe started correctly: After starting a recipe pull the latest environmental variables to see if they match. Create recipe to turn all the hardway on and then off to verify it is all working. Create a diagram outlining each potential failpoint and create a plan to add tests for each step in the flow.
(Exported from Trello https://trello.com/c/XHM4WT4b/979-testing-debugging-create-an-all-green-test-suite-to-check-basic-functionality-3d)
On 2017-05-08T15:44:46.551Z, @gordonbrander wrote:
Test suite completeness... test each of the different nodes, make sure they all work correctly.
Will we need a CouchDB mock?
On 2017-04-13T18:03:29.037Z, @gordonbrander wrote:
rostest
On 2017-04-13T18:00:21.014Z, @gordonbrander wrote:
What testing approach do we want to use for this? I think ROS has integration with Nose.