# Integration Testing

**URL:** <https://discourse.chef.io/t/integration-testing/10889>\
**Category:** Chef InSpec\
**Created:** [May 9, 2017, 3:32pm UTC](https://discourse.chef.io/t/integration-testing/10889 "2017-05-09T15:32:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhanukiran](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@Bhanukiran](https://discourse.chef.io/u/Bhanukiran)\
**Post date:** [May 9, 2017, 3:32pm UTC](https://discourse.chef.io/t/integration-testing/10889/1 "2017-05-09T15:32:22Z")

</div>

Good morning All.

I have written cookbook to install oracle software & uploaded to server.  
I am successfully push/chef-client in node.  
Now, I want to do integration testing like, oracle software installed successfully or not, port is listening or not.  
I have read about serverspec and other integration tools. I tried but no look. they are using vagrat tool/kitchen test.  
I do not have vagrant/another tool. I want to write functional/integration testing to verify system desired status.

Can you please help me how to write integration test cases and test them on ndoe.

Thanks  
Bhanu

---

<div class="post-metadata">

**Author:** ![misheska](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@misheska](https://discourse.chef.io/u/misheska)\
**Post date:** [May 9, 2017, 3:45pm UTC](https://discourse.chef.io/t/integration-testing/10889/2 "2017-05-09T15:45:01Z")

</div>

You can use InSpec without using vagrant. doing it against your live systems on a node without using Test Kitchen - I prepared a few overview videos for O’Reilly outlining the process. In addition to a security assessment you can also do integration testing, so these should be applicable:

[https://www.oreilly.com/learning/how-can-i-use-inspec-to-ensure-my-web-application-infrastructure-is-secure](https://www.oreilly.com/learning/how-can-i-use-inspec-to-ensure-my-web-application-infrastructure-is-secure) [https://www.oreilly.com/learning/how-can-i-use-inspec-to-ensure-my-web-application-infrastructure-is-secure](https://www.oreilly.com/learning/how-can-i-use-inspec-to-ensure-my-web-application-infrastructure-is-secure)  
[https://www.oreilly.com/learning/how-can-i-use-inspec-over-ssh-to-verify-that-my-linux-installation-is-secure](https://www.oreilly.com/learning/how-can-i-use-inspec-over-ssh-to-verify-that-my-linux-installation-is-secure) [https://www.oreilly.com/learning/how-can-i-use-inspec-over-ssh-to-verify-that-my-linux-installation-is-secure](https://www.oreilly.com/learning/how-can-i-use-inspec-over-ssh-to-verify-that-my-linux-installation-is-secure)  
[https://www.oreilly.com/learning/how-can-i-use-inspec-to-verify-my-linux-installation-in-a-docker-container-is-secure](https://www.oreilly.com/learning/how-can-i-use-inspec-to-verify-my-linux-installation-in-a-docker-container-is-secure) [https://www.oreilly.com/learning/how-can-i-use-inspec-to-verify-my-linux-installation-in-a-docker-container-is-secure](https://www.oreilly.com/learning/how-can-i-use-inspec-to-verify-my-linux-installation-in-a-docker-container-is-secure)

---

<div class="post-metadata">

**Author:** ![chris-rock](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@chris-rock](https://discourse.chef.io/u/chris-rock)\
**Post date:** [May 9, 2017, 3:54pm UTC](https://discourse.chef.io/t/integration-testing/10889/3 "2017-05-09T15:54:23Z")

</div>

Please have a look at [https://www.inspec.io/tutorials/](https://www.inspec.io/tutorials/) too

---

<div class="post-metadata">

**Author:** ![misheska](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@misheska](https://discourse.chef.io/u/misheska)\
**Post date:** [May 9, 2017, 4:11pm UTC](https://discourse.chef.io/t/integration-testing/10889/4 "2017-05-09T16:11:00Z")

</div>

Yes, Annie wrote a great series of blog posts showing you step-by-step how to get started with InSpec, once you see that it meets your requirements for the type of testing you want to do.

---

<div class="post-metadata">

**Author:** ![Bhanukiran](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@Bhanukiran](https://discourse.chef.io/u/Bhanukiran)\
**Post date:** [May 11, 2017, 1:46pm UTC](https://discourse.chef.io/t/integration-testing/10889/5 "2017-05-11T13:46:30Z")

</div>

Thank you! I am going through the documentation.
