Questions tagged [integration-tests]

Integration testing is the phase in software testing in which individual software modules are combined and tested as a group. No mocks or stubs are required; everything is tested as in production.

Integration testing is the phase in software testing in which individual software modules are combined and tested as a group. It occurs after unit testing and before system testing. Integration testing takes as its input modules that have been unit tested, groups them in larger aggregates, applies tests defined in an integration test plan to those aggregates, and delivers as its output the integrated system ready for system testing.

No mocking or stubs are required; everything should be as in production.

279 questions
2
votes
2 answers

Integration test ordering vs. before/after style setup/cleanup when one test is a subset of another

I'm aware that it's generally considered bad style to write tests that have to run in a particular order. Let's say I'm testing an account-management API, and have the following two integration tests: test_create_account, and test_log_in. What I…
2
votes
1 answer

SQL queries in integration tests

Current situation I have a situation that I find frustrating: the integration tests in my project (a RESTful API) contain both API HTTP calls and SQL queries. Whenever an API call is made that writes something to the DB (a POST, PUT or PATCH…
mingos
  • 123
2
votes
3 answers

In integration testing, do you use the data access objects for setup and validation or a different data access method?

When writing integration tests for business logic objects and data access objects, what makes the most sense to use for setup and validation? In my case, I'm using an ORM in the implementation of my data access interface that will be used in…
Becca
  • 258
0
votes
2 answers

Integration Testing - Units of measure

A SW-Component "SWC-A" is integrated with a SW-Component "SWC-B". The SWC-A has an output interface which provides "Distance in meters". The SWC-B receives this value and does some calculation. If in SWC-B interprets the received value is…
0
votes
1 answer

Consumer Contract Testing should I start Provider in mocked mode?

I read couple articles about Consumer Contract Testing, but I cannot find answer to one question. Let's say I have 3 microservices: A, B, C. The communication looks like that: A -> B -> C Now I want to test contract between A and B. Should I start…
tomekK
  • 101
0
votes
1 answer

Doing Integration Testing, what would be a good way to provide test values from external sources?

I am building an Integration Testing Solution using Selenium in VS2012, which will be run on a CI server in the near future. I need to provide some way to vary the values being used for testing. The easiest would be to provide the QA testers with a…
callisto
  • 103