Removed "dns" task in Rakefile since "unit" is fine now.

This commit is contained in:
soh_cah_toa
2013-07-15 03:02:29 -04:00
parent 1ffa21d62a
commit 9a4fd6cb4c
2 changed files with 0 additions and 28 deletions

View File

@@ -40,14 +40,6 @@ task :dns_rest do
Rake::Task['beef_stop'].invoke
end
# TODO: Remove task before comitting
desc "Run DNS unit tests"
task :dns do
Rake::Task['beef_start'].invoke
sh "cd test/unit; ruby -W0 ts_unit_dns.rb"
Rake::Task['beef_stop'].invoke
end
desc "Run integration unit tests"
task :unit => ["install"] do
sh "cd test/unit;ruby -W0 ts_unit.rb"

View File

@@ -1,20 +0,0 @@
#
# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
require '../common/ts_common'
require './extensions/tc_dns'
class TS_BeefDnsTests
def self.suite
suite = Test::Unit::TestSuite.new(name="BeEF DNS Unit Tests")
suite << TC_Dns.suite
return suite
end
end
Test::Unit::UI::Console::TestRunner.run(TS_BeefDnsTests)