Experiments in Inspec
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-08-19 12:30:30 +01:00
examples new examples 2019-08-18 20:48:13 +01:00
azure-pipelines.yml Made the artifact publish with or without a pass 2019-08-18 22:02:55 +01:00
hello.txt First Commit 2019-08-12 09:23:11 +01:00
hello2.txt make tests green (try3) 2019-08-19 12:30:30 +01:00
hello_spec.rb amended a test that should fail. 2019-08-18 22:00:06 +01:00
Readme.md make tests green 2019-08-19 12:25:05 +01:00

This repo is me trying to remember how to use Inspec

Example Run

Adrians-MacBook-Pro:helloWorldInspec adrian$ inspec exec hello_spec.rb 

Profile: tests from hello_spec.rb (tests from hello_spec.rb)
Version: (not specified)
Target:  local://

  ✔  world-1.0: Hello World
     ✔  File hello.txt content should match "Hello World"


Profile Summary: 1 successful control, 0 control failures, 0 controls skipped
Test Summary: 1 successful, 0 failures, 0 skipped