This example shows the implementation of an InSpec profile.
inspec exec path/to/controls/profiles.rb --attrs path/to/attrs/file.yml -t ssh://user@ip --password 'password' --sudo
There is a file /controls/test.rb that I have been using to test 1 control at a time. as the full amount of testing takes quite a while due to the rpm control checks.