summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-06 14:59:54 -0800
committerelijah <elijah@riseup.net>2013-12-06 14:59:54 -0800
commite23dc7849d1118ed2dfe7f37a6109ffbeefa959c (patch)
tree167201283f9f5a9fb03708f57ef382899996d9c4 /tests
parentb3542ab1f8a80e5674bbf367f3345a71f30cd0db (diff)
added test dependencies and test halting.
Diffstat (limited to 'tests')
-rw-r--r--tests/network.rb12
-rw-r--r--tests/webapp.rb13
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/network.rb b/tests/network.rb
new file mode 100644
index 00000000..115d356a
--- /dev/null
+++ b/tests/network.rb
@@ -0,0 +1,12 @@
+require File.dirname(__FILE__) + '/webapp'
+
+class TestNetwork < LeapTest
+
+ def setup
+ end
+
+ def test_test
+ pass
+ end
+
+end
diff --git a/tests/webapp.rb b/tests/webapp.rb
new file mode 100644
index 00000000..1762de9e
--- /dev/null
+++ b/tests/webapp.rb
@@ -0,0 +1,13 @@
+raise SkipTest unless $node["services"].include?("webapp")
+
+class TestAWebapp < LeapTest
+ depends_on "TestNetwork"
+
+ def setup
+ end
+
+ def test_test
+ assert false, 'hey, stop here'
+ end
+
+end