rapid7/metasploit-framework — pull request #4055 by limhoff-r7 (2014-10-21 19:43:40+00:00)
Title: Module #initialize specs

MSP-11145

Spec that all modules can be initialized. For payloads modules, check that the a module can be initialized when it's single module or it's stage and stager are loaded. Detects when a payload module is not being tested and fails `rake spec` with exit(1) if a file is not tested, but cannot detect if a payload test is missing if its ancestors are used at least once.

# Verifications

## specs
- [ ] `rake spec`
- [ ] VERIFY no failures

## Failure testing
- [ ] `git checkout da450f4`
- [ ] `rake spec`
- [ ] `echo $?`
- [ ] VERIFY exit status is 1
- [ ] VERIFY missing payload modules are printed
- [ ] Restore to HEAD `git checkout -`