summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-07-19 22:41:45 -0300
committerAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-07-19 22:41:45 -0300
commita400deb91f63777fbd5627ce7f3d41f4a3247628 (patch)
tree425b338d7b852d9261d13b5eb73a79af1b655887 /Rakefile
parent3418407ae6566a15821dac7c1715d32f0744c3ba (diff)
downloadhighline-a400deb91f63777fbd5627ce7f3d41f4a3247628.tar.gz
Add some semi-automatic 'acceptance' tests to HighLine (yup)
These 'acceptance' tests guide the user through some steps asking if they SEE what they should be seeing. It summarizes the answers and adds some debug environment information that can be sent to HighLine contributors. It'll be a complementary way of testing HighLine without the caveats of using a fake input/output object like StringIO as we do on automatic unit tests.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 00d018f..815e120 100644
--- a/Rakefile
+++ b/Rakefile
@@ -27,3 +27,8 @@ end
Gem::PackageTask.new(SPEC) do |package|
# do nothing: I just need a gem but this block is required
end
+
+desc "Run some interactive acceptance tests"
+task :acceptance do
+ load "test/acceptance/acceptance.rb"
+end