summaryrefslogtreecommitdiff
path: root/test/integration/dispatcher_test.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-09-21 13:05:50 +0200
committerAzul <azul@riseup.net>2016-09-21 13:05:50 +0200
commite1a78d46298d556b09bfcac0fa797b8e32b965d4 (patch)
tree2f19877e1ca435eaafe94d87c46d895d953be5d7 /test/integration/dispatcher_test.rb
parent6f507ed7b4f53054313173ce795ffd2cbcecd0b7 (diff)
doc: explain the purpose of different integration tests
Diffstat (limited to 'test/integration/dispatcher_test.rb')
-rw-r--r--test/integration/dispatcher_test.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/dispatcher_test.rb b/test/integration/dispatcher_test.rb
index 986972c..b3a50a0 100644
--- a/test/integration/dispatcher_test.rb
+++ b/test/integration/dispatcher_test.rb
@@ -1,6 +1,17 @@
require 'test_helper'
require 'nickserver/dispatcher'
+#
+# Test integration between the Dispatcher and the RequestHandlers
+#
+# Starting from a given request we test the interaction between the dispatcher
+# and the different RequestHandlers. There's a lot of combinations possible
+# and we only test a couple of them to ensure the parts work together well.
+#
+# This does not test the server. We stub and mock the sources. The nickserver
+# integration test covers these as well.
+#
+
class Nickserver::DispatcherTest < Minitest::Test
def test_empty_query