I tried to run Serverspec tests as shared behaviors on multiple servers by referencing from
http://serverspec.org/advanced_tips.html
When running test, I got the "No examples Found" message every times.
How to solve this problem?
Asked
Active
Viewed 349 times
2

tinlinnnsoe18
- 61
- 7
-
Did you ever get a solution? I'm working on this too. Would you like to collaborate? – Neil H Watson May 21 '15 at 12:27
2 Answers
1
if you are using test kitchen ,you can create a helpers directory and place all you shared behaviours in there,an example can be found here

Chaitanya Channella
- 11
- 2
0
Here is a good example: http://artplustech.com/automated-infrastructure-testing-with-serverspec/
It is quite complex because it shows the power of writing customized tests for specific apps installed on the infrastructure, which depends on the evironment.

KaszpiR
- 71
- 1
- 4