James Barnett
0c5765d572
Apparently the tests expected the typo in DATABASE.
2016-07-28 17:40:37 -05:00
James Barnett
3a254a9441
This is a combination of 5 commits.
...
@db tests not working because the part where we tell it to connect to the database was commented out.
There was a race condition causing the rc script to exit before all of the sessions were opened. This change properly waits for us to get the expected number of sessions before exiting.
Use a more reliable form of the rc script.
Didn't mean to commit the schema.rb
Forgot new line
2016-07-28 16:30:54 -05:00
David Maloney
2fb3123ef2
fix migration crazieness
...
MS-1486
2016-05-11 14:05:34 -05:00
James Barnett
17447bea35
Put the code in the wrong block.
2016-02-25 13:39:04 -06:00
James Barnett
e3c5708363
Support for tests that require the DB. Also update ms08-067 script with a few flags.
2016-02-25 12:41:40 -06:00
darkbushido
e6eaa138e5
working on automated testing of 08-067
2016-02-04 13:41:37 -06:00
Luke Imhoff
633b4b9e51
Disable simplecov on travis-ci
...
MSP-11671
`bundler install --without coverage` will not install `simplecov`.
Running without simplecov changes the average runtime of `rake
cucumber:boot` from (n=13) 112.50 seconds to (n=10) 32.17 seconds
(-71.41%). (-73.68% from 2c1203ba49d49603aec169eed053ab929ccdedc6.) Raw
data:
https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing .
2014-12-05 11:58:09 -06:00
Luke Imhoff
08a8cee08a
Don't require simplecov in cucumber env.rb
...
MSP-11671
All features currently use aruba to run msfconsole in a separate process
and it is that child process that needs to load simplecov. Changes
average runtime for `rake cucumber:boot` from (n=10) 122.21 seconds to
(n=13) 112.50 seconds (-7.50%). Raw data:
https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing
2014-12-05 10:21:58 -06:00
Luke Imhoff
3c3792330c
Fix RUBYOPT to be debugger compatible
...
MSP-11671
RUBYOPT needs to be appended to so that debugger is always first.
2014-12-02 15:31:57 -06:00
Luke Imhoff
48356d1003
Up aruba timeout for simplecov overhead
...
MSP-11647
Doubling the timeout is arbitrary, but travis-ci's limit for no output
is 10 minutes, so it can't go much higher.
2014-11-25 14:13:41 -06:00
Luke Imhoff
81d160c685
Add simplecov to cucumber env
...
MSP-11647
Port simplecov setup from metasploit-version so that child processes, in
this case msfconsole, will load simplecov and report coverage back to
the parent process. Coverage from msfconsole's cucumber features is the
only way to get coverage on portions of the command dispatcher commands.
2014-11-25 14:13:40 -06:00
darkbushido
090338f575
changing the cucumber timeout to 4 minutes....
2014-09-11 16:54:19 -05:00
darkbushido
50e804d9cb
updating how we use cucumber to match lukes changes
2014-09-02 18:57:55 -05:00
darkbushido
5b3800c13a
removing the hacked stty solution
2014-09-02 13:57:48 -05:00
darkbushido
13a0b8da83
Merge branch 'master' into aruba-testing-with-updated-master
...
Conflicts:
Gemfile.lock
config/cucumber.yml
features/support/env.rb
features/support/hooks.rb
lib/tasks/cucumber.rake
2014-09-02 13:56:02 -05:00
Luke Imhoff
bfc509c18a
Add feature that tests --yaml is favored over others
...
MSP-11153
2014-08-27 16:46:23 -05:00
Luke Imhoff
1857c6ae39
Add aruba
...
MSP-11153
aruba adds steps for testing commandline applications with cucumber.
2014-08-27 14:22:20 -05:00
Luke Imhoff
2f48f7c48c
rails generate cucumber:install
...
MSP-11153
Add cucumber-rails for testing msfconsole's loading of database.yml from
different paths.
2014-08-27 14:10:04 -05:00
darkbushido
984f073c7d
changing from cucumber to cucumber-rails
...
using the MSF_DATABASE_CONFIG to tell msfconsole where to find the database.yml
2014-08-27 13:44:34 -05:00
darkbushido
df62c4a29d
setting the timeout to 180
2014-08-21 10:15:07 -05:00
darkbushido
264192e796
setting the timeout to 120
2014-08-21 10:00:35 -05:00
darkbushido
9e4b02abb1
increasing the aruba timeout to 240 seconds
...
msfconsole is taking over 60 seconds to load on travis
2014-08-21 09:45:53 -05:00
darkbushido
73911e9007
adding in the positive test case
2014-08-20 15:54:49 -05:00
darkbushido
15a7ed0031
adding scenarios for booting msfconsole without a db
2014-08-20 11:02:11 -05:00
darkbushido
8f3f37dd54
updating how cucumber loads features
...
starting to use a cucumber.yml to store the profile configs
we will not be running @targets by default
2014-08-19 15:05:47 -05:00
darkbushido
565f622fe0
renaming targets.yml to .example
...
ignoring the targets.yml file
2014-08-13 17:40:51 -05:00
darkbushido
0d045d007a
moving the module file
...
adding some comments on things we should not see when running
msfconsole
2014-08-13 17:37:40 -05:00
Jon Hart
e66d2c8d19
Merge branch 'aruba-testing' into target_hooks
2014-08-13 15:29:53 -07:00
Jon Hart
0bb9214753
Add missed files
2014-08-13 15:25:41 -07:00
Jon Hart
2f45d2c72e
Add @target hooks to set RHOST/RHOSTS from config
2014-08-13 15:22:09 -07:00
darkbushido
2409da9555
cutting down on steps calling steps
2014-08-13 16:46:36 -05:00
Jon Hart
fa6d356425
Add @msfconsole tag, simpler module example
2014-08-13 13:55:11 -07:00
darkbushido
c82ba34f7c
working on a first pass at cucumber for framework
2014-08-13 14:28:28 -05:00