diff options
author | Miklos Fazekas <mfazekas@szemafor.com> | 2016-04-08 21:16:56 +0200 |
---|---|---|
committer | Miklos Fazekas <mfazekas@szemafor.com> | 2016-04-08 22:40:06 +0200 |
commit | 5834936ffd1a4c1bc24673c94b73a9fdaa3f710b (patch) | |
tree | 492ae2f2ce6e896753d63da29016fdc26afd7032 /Rakefile | |
parent | 035f27c705aed4fbfd9bc66b3f8e99bbc4141cb3 (diff) | |
download | net-ssh-5834936ffd1a4c1bc24673c94b73a9fdaa3f710b.tar.gz |
Added tests for Net::SSH::Test
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -75,5 +75,15 @@ Rake::TestTask.new do |t| t.libs << "test/integration" if ENV['NET_SSH_RUN_INTEGRATION_TESTS'] test_files = FileList['test/**/test_*.rb'] test_files -= FileList['test/integration/**/test_*.rb'] unless ENV['NET_SSH_RUN_INTEGRATION_TESTS'] + test_files -= FileList['test/test/**/test_*.rb'] + t.test_files = test_files +end + +desc "Run tests of Net::SSH:Test" +Rake::TestTask.new do |t| + t.name = "test_test" + # we need to run test/test separatedly as it hacks io + other modules + t.libs = ["lib", "test"] + test_files = FileList['test/test/**/test_*.rb'] t.test_files = test_files end |