Testing RDF Generator Version Detection in WPScan
This test suite validates the RDF Generator version detection functionality in WPScan. It focuses on testing the WpVersion finder component specifically for RDF Generator detection, ensuring accurate WordPress version identification through RDF metadata analysis.
Test Coverage Overview
Implementation Analysis
Technical Details
Best Practices Demonstrated
wpscanteam/wpscan
spec/app/finders/wp_version/rdf_generator_spec.rb
# frozen_string_literal: true
describe WPScan::Finders::WpVersion::RDFGenerator do
subject(:finder) { described_class.new(target) }
let(:target) { WPScan::Target.new(url).extend(CMSScanner::Target::Server::Apache) }
let(:url) { 'http://ex.lo/' }
let(:fixtures) { FINDERS_FIXTURES.join('wp_version', 'rdf_generator') }
xit
end