Skip to content

Commit 4eb9a75

Browse files
committed
Use -x when testing help
MSP-11671 Instead of interactively typing `help` and `exit` use `-x` to run the commands, which changes the average (n=10) time for `rake cucumber` from 153.29 seconds to an average (n=10) of 32.21 for a -78.99% change from the last commit and a -80.47% change from the beginning of this branch (3c37923). Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing
1 parent 73844eb commit 4eb9a75

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

features/commands/help.feature

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
Feature: Help command
22

33
Background:
4-
Given I run `msfconsole --defer-module-loads` interactively
5-
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
4+
Given I run `msfconsole --defer-module-loads -x help -x exit`
65

76
Scenario: The 'help' command's output
8-
When I type "help"
9-
And I type "exit"
107
Then the output should contain:
118
"""
129
Core Commands

0 commit comments

Comments
 (0)