[ ] Check if Agent and Agent[] responses are okay or not(HTTP 200, nothing fancy).
[ ] Check if Agent objects are being instantiated okay. Maybe we could check if all attributes are not empty, considering that pplapi always returns values for every agent attribute.
[ ] With Agent[] lists:
[ ] check that the array's not empty;
[ ] select an Agent item from the array at random, and then check if the attributes are present.
[ ] Check if the Metrics object isn't empty. Maybe we can think of another valid check case here.
First, we should have some basic tests:
Agent
andAgent[]
responses are okay or not(HTTP 200
, nothing fancy).Agent
objects are being instantiated okay. Maybe we could check if all attributes are not empty, considering that pplapi always returns values for every agent attribute.Agent[]
lists:Agent
item from the array at random, and then check if the attributes are present.Metrics
object isn't empty. Maybe we can think of another valid check case here.Finally, put in a Travis config.