Method: Inspec::Plugins::SourceReader#tests
- Defined in:
- lib/inspec/plugins/source_reader.rb
#tests ⇒ Hash
Retrieve this profile’s tests
“tests” here refers to a test file. Individual controls and anonymous tests are later extracted from the raw contents of a test file. The map her simply maps from a test file name to the file contents.
28 29 30 |
# File 'lib/inspec/plugins/source_reader.rb', line 28 def tests raise "SourceReader #{self} does not implement `tests()`. This method is required" end |