metasploit-framework/test/tests/00_create_all_modules.rb

12 lines
216 B
Ruby
Executable File

require 'testbase'
describe Msf::Simple::Framework do
$msf.modules.each_module do |m|
ref,klass = m
it "should be able create #{ref}" do
e = $msf.modules.create(ref)
e.should_not == nil
end
end
end