-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Acceptance::Meterpreter
module to Acceptance::Session
#19428
Rename Acceptance::Meterpreter
module to Acceptance::Session
#19428
Conversation
6398e25
to
5d49b85
Compare
return true if ENV['METERPRETER'].blank? | ||
# Allows restricting the tests of a specific session's test suite with the SESSION environment variable | ||
# @return [TrueClass, FalseClass] True if the given session should be run, false otherwise. | ||
def self.run_session?(session_config) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still want unique identifiers here for environment variables, for the scenario of running the test suite all at once instead of on a per-file basis 🤔
I think we should either revert run_meterpreter?
and run_meterpreter_module_test?
, or update it to take a parameter of the session type that's expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to jump on a call if you disagree with that approach, i.e. if I'm missing an edgecase or such and you'd prefer to follow a different pattern
5d49b85
to
37cedf8
Compare
1d331e7
to
ceffede
Compare
ceffede
to
76b0bc5
Compare
This PR renames
Acceptance::Meterpreter
module toAcceptance::Session
. This has been done as more tests have now been added to our acceptance testing. In this PR we will be adding command shell acceptance testing ontop of our existing Meterpreter testing. So this PR is in preparation to adding those new tests.Verification