News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anna Filina:
Define Functional, Unit and Integration Tests
April 08, 2013 @ 14:45:46

Anna Filina has a new post to her site that helps to clarify the definitions between functional, unit and integrations tests of your application's functionality.

I have recently read a blog post claiming that functional tests are not "true" tests. The author also claims that unit testing shows you where the problem is occurring, while functional testing simply identifies that a problem exists. This argument is deceptive and the conclusion dangerous. Different kinds of tests are not mutually exclusive. One is not superior to the other. They have different goals and can happily coexist. Let me explain the kinds of tests so that you could make enlightened decisions.

She covers each type of test in detail, noting the goal of that particular type and some examples of the kinds of things they might test. She starts with the highest level, functional testing, then jumps down to the lowest - unit testing. She finishes up the post defining "integration tests" as tests that ensure you're integrating correctly - that you're using the API provided by the tool in the right way and that it's working as expected.

0 comments voice your opinion now!
testing functional unit integration definition example

Link: http://annafilina.com/blog/functional-unit-and-integration-tests

blog comments powered by Disqus

Similar Posts

Ibuildings Blog: Zend Framework testing: emulating HTTP calls

PseudoCoder.com: How To Really Use Xdebug To Speed Up Your App

Joshua Eichorn's Blog: Testing phpDocumentor 1.3.2

Chris Hartjes' Blog: Thoughts on Testing APIs

SitePoint PHP Blog: Help Develop PHP: 5.6 RC1 on Homestead


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant community example library unittest framework podcast php7 series extension introduction laravel5 xdebug language release api laravel install opinion interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework