Tests are an integral part of the development process. No feature or functionality can be considered done without a set of tests implementing scenarios, which verify that what’s implemented works according to specifications. If we talk in terms of functional or integration tests, more often than not, they depend upon some infrastructure, like some kind of database, messaging queue, distributed cache, etc.
Usually, when we want to create integration tests (e.g. to test the persistence layer), it is convenient to load up the in-memory database for that purpose. Although, this is easy to set up and get started, it carries some drawbacks and challenges with it.
from DZone.com Feed https://ift.tt/2Hxqear
No comments:
Post a Comment