From 9c459db93c99e685a7b7fcd4d743b4af1352a127 Mon Sep 17 00:00:00 2001 From: John Shahid Date: Wed, 9 Oct 2013 16:05:19 -0400 Subject: [PATCH] clarify the docs. --- src/engine/engine_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/engine_test.go b/src/engine/engine_test.go index 587240e9b7..3561643373 100644 --- a/src/engine/engine_test.go +++ b/src/engine/engine_test.go @@ -84,11 +84,14 @@ func runQuery(engine EngineI, query string, c *C, expectedSeries string) { c.Assert(result, DeepEquals, series) } +// All tests do more or less the following steps +// // 1. initialize an engine // 2. generate a query // 3. issue query to engine // 4. mock coordinator // 5. verify that data is returned + func (self *EngineSuite) TestBasicQuery(c *C) { mockData := ` [