<div dir="ltr">On 10 February 2013 14:43, John Wong <span dir="ltr">&lt;<a href="mailto:gokoproject@gmail.com" target="_blank">gokoproject@gmail.com</a>&gt;</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&#39;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 &quot;standard terms&quot;.</div>

</blockquote><div><br></div><div style>I think <a href="http://programmers.stackexchange.com/a/186542/7398">Hakan Deryal&#39;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>&quot;I&#39;m calling the external system as intended&quot; - more like a unit test</div><div style><br></div><div style>&quot;Calling the external system in the way I do has the expected effect, and I haven&#39;t misunderstood how to use it&quot; - more like an integration test.</div>

<div style><br></div><div style>Some would say that &quot;functional&quot; is not a counterpoint to integration tests, but rather &quot;functional&quot; 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>