Removed "dns" task in Rakefile since "unit" is fine now.
This commit is contained in:
8
Rakefile
8
Rakefile
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user