

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345# RSpec Test Instructions67## Conventions89- Follow [Better Specs](https://www.betterspecs.org/)10- Mirror `lib/` structure: `lib/msf/core/exploit/remote/http_client.rb` → `spec/lib/msf/core/exploit/remote/http_client_spec.rb`11- Use `described_class` instead of repeating the class name12- One expectation per example when practical13- Use `let` and `let!` for setup, `before` for side effects1415## Running Tests1617- Single file: `bundle exec rspec spec/path/to/spec.rb`18- Single example: `bundle exec rspec spec/path/to/spec.rb:42`19- Full suite: `bundle exec rake spec` (slow — avoid during development)2021## Test Data2223- Use TEST-NET-1 (`192.0.2.0/24`) for example IP addresses — never real IPs24- Use `Rex::Text.rand_text_alphanumeric` for random test data25- Use the `Faker` gem (e.g. `Faker::Internet.username`) for usernames/accounts2627## Module Specs2829- Module functional tests live in `spec/modules/`30- Test end-to-end behaviour including `check` and `exploit`/`run` methods3132## What to Test3334- Public API methods — inputs, outputs, edge cases35- Error handling paths — verify correct exception classes raised36- Protocol parsing — round-trip encode/decode37- Version comparison logic — boundary conditions38
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| rapid7/metasploit-frameworkAGENTS.md · 39k | AGENTS.md | teststylearchgit+3 | 61/100 | today | |
| rapid7/metasploit-framework.github/copilot-instructions.md · 39k | Copilot instructions | agent-behaviour | 4/100 | today | |
| rapid7/metasploit-framework.github/instructions/documentation.instructions.md · 39k | Copilot instructions | do-notagent-behaviourdocs | 32/100 | today | |
| rapid7/metasploit-framework.github/instructions/library.instructions.md · 39k | Copilot instructions | teststyleagent-behaviourdocs | 60/100 | today | |
| rapid7/metasploit-framework.github/instructions/modules.instructions.md · 39k | Copilot instructions | stylearchdo-notagent-behaviour | 59/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| pytorch/pytorch.github/copilot-instructions.md · 102k | Copilot instructions | setupbuildteststyle+5 | 100/100 | 14 days ago | |
| dotnet/roslyn.github/instructions/Compiler.instructions.md · 21k | Copilot instructions | buildteststylearch+3 | 99/100 | today | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 32k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 7 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 14 days ago | |
| ardalis/CleanArchitecture.github/copilot-instructions.md · 18k | Copilot instructions | buildteststylearch+4 | 96/100 | 14 days ago | |
| dotnet/maui.github/instructions/templates.instructions.md · 23k | Copilot instructions | buildteststylearch+1 | 92/100 | 14 days ago | |
| dotnet/maui.github/instructions/integration-tests.instructions.md · 23k | Copilot instructions | setupteststyledo-not | 92/100 | 14 days ago | |
| photoprism/photoprism.github/copilot-instructions.md · 40k | Copilot instructions | buildtestlint-formatstyle+5 | 90/100 | 13 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/rapid7-metasploit-framework-github-instructions-tests-instructions)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.