<div dir="ltr">On 10 February 2013 14:43, John Wong <span dir="ltr"><<a href="mailto:gokoproject@gmail.com" target="_blank">gokoproject@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am posting the same exact question on Stackexchange: <a href="http://programmers.stackexchange.com/questions/186523/difference-between-functional-test-and-integration-test" target="_blank">http://programmers.stackexchange.com/questions/186523/difference-between-functional-test-and-integration-test</a><div>
It's more nicely formatted. I have posted on here before on using mock so I figure I can try here as well (and people on this mailinglist are usually really really experienced programmers!)</div><div><br></div><div>That being said, I really have a hard time differentiating functional test from integration test. </div>
<div><br></div><div>Sidenote: I understand people use different terms in different organization (ex. at Google they use small, medium and large instead of unittest, and integration test), but for most organizations, they enjoy using "standard terms".</div>
</blockquote><div><br></div><div style>I think <a href="http://programmers.stackexchange.com/a/186542/7398">Hakan Deryal's answer</a> on that question is good: integration tests emphasize testing an entire assembled fairly-realistic system.</div>
<div style><br></div><div style>It is a matter of degree and as you say the terminology is quite inconsistent so it will always be a bit subjective exactly how to differentiate them.</div><div style><br></div><div style>
One way to look at is to ask what kind of statement the test is intended to check:</div>
<div style><br></div><div style>"I'm calling the external system as intended" - more like a unit test</div><div style><br></div><div style>"Calling the external system in the way I do has the expected effect, and I haven't misunderstood how to use it" - more like an integration test.</div>
<div style><br></div><div style>Some would say that "functional" is not a counterpoint to integration tests, but rather "functional" is contrasted with eg performance tests.</div><div style><br></div>
<div style>
<br></div></div><br clear="all"><div><br></div>-- <br>Martin<br>
</div></div>