testing - Unit tests vs Functional tests -


what difference between unit tests , functional tests? can unit test test function?

unit test - testing individual unit, such method (function) in class, dependencies mocked up.

functional test - aka integration test, testing slice of functionality in system. test many methods , may interact dependencies databases or web services.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -