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.

learn more… | top users | synonyms

2
votes
3answers
334 views

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 ...
2
votes
1answer
189 views

Mocking complex data operations in integration tests

We have some problems figuring out how to mock complex data and operations on it. First the problems with generating complex data: In one of our components we have really complex data structures ...
2
votes
1answer
201 views

How to write integration tests for a component oriented software platform

Initial situation: We are developing a software platform where products can be generated by configuring different components and adding additional ones. The platform is developed several years by a ...
2
votes
1answer
269 views

Approaches to isolating tests that require a database? [duplicate]

Suppose I have component A,B,C that all put some data into a database. Each component depends on data in the database inserted by the previous component. How do I test these modules in isolation? I ...
1
vote
3answers
468 views

unit/integration testing web service proxy client

I'm rewriting a PHP client/proxy library that provides an interface to a SOAP-based .Net webservice, and in the process I want to add some unit and integration tests so future modifications are less ...
1
vote
1answer
321 views

Looking for resources on TDD and BDD [closed]

I'm doing a presentation this week for Uni on the application of TDD and BDD. I'm trying to focus on types of code (such as algorithms, business logic or crud) and which methodology (if at any at all) ...
1
vote
1answer
234 views

As per IEEE 12207, who has to perform SW integration testing?

As per IEEE 12207, who has to perform Software integration testing (SOIPL): SW Testing team or SW Development team?
1
vote
0answers
155 views

How to organize integration tests and test data for different environments when using Maven Failsafe

I have started to separate my unit tests from my integration tests by using Maven Surefire and Failsafe. Now I'm wondering what good ways there are to deal with separate environments. Take for ...
0
votes
3answers
354 views

What's wrong performing unit test against concrete implementation if your frameworks are not going to change?

First a bit of background: We are re-architecting our product suite that was written 10 years ago and served its purpose. One thing that we cannot change is the database schema as we have 500+ client ...
0
votes
2answers
170 views

Continuous integration testing server: hosted, own desktop, or own server

For testing, I am planning to run a continuous integration testing. There are mainly two options: hosted, or own desktop/server. I will break it into 3 options I have: Hosted: Economical, ...
0
votes
3answers
535 views

Testing an IRC Bot [closed]

I'm using Autumn gem to create a Ruby IRC bot for a game. However, it makes me feel rather embarrassed because I don't know how to test this kind of program... I think I should mock the IO process to ...
0
votes
1answer
105 views

How do you detect lying Stubs/Mocks?

Consider this piece of code from the PHPUnit manual(I'm using PHP only as an example): class StubTest extends PHPUnit_Framework_TestCase { public function testStub() { // Create a ...
0
votes
3answers
3k views

What would be negative test case for this scenario?

Let's say we have some requirements Req1: User name will accept 6-10 character alpha value. Req2: On click of Submit button, application will show error message "Please enter value or character ...
0
votes
1answer
110 views

Jasmine BDD vs Integration Tests

Let's say I need to write a test for the front end, in the following BDD style: A user visits buysomething.com, saves something to their wishlist, and a saved item count is updated. The result ...
0
votes
1answer
51 views

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 ...
0
votes
1answer
166 views

What kind of a test is a “consistency check”?

Some or all of the tests I write and run are checks for consistency e.g. assert that if I create a new user account, that the account that was created actually has the same name as the name that was ...
0
votes
1answer
92 views

What are the benefits of not having logic within integration tests?

In the excellent http://artofunittesting.com/, i saw recommendation to keep logic out of unit tests. Does this hold true for functional/integration tests?
0
votes
0answers
38 views

faster method of testing uwsgi + nginx

Im currently looking for a way to test a lot of requests in the shortest amount of time possible on my web application. My current workaround is to just import the modules I want to test into another ...
0
votes
0answers
78 views

How to structure integration tests per environment

I have a set of integration tests written using MSTest. I want to deploy my application to various environments and run my integration tests on that environment. There are certain configuration ...
0
votes
0answers
103 views

How do I test my non-Ruby website using Ruby?

I would like to build some Ruby tests to test my non-Ruby website. I love the Ruby testing tools (webrat, capybara, etc.) but they seem to be targeted to testing local sites. How can I use these ...