Questions tagged [integration-testing]

A form of software testing where individual software modules (or components) are combined and tested as a group. Integration testing happens after unit testing, and before system testing.

Integration testing is a form of software testing where individual software modules (or components) are combined and tested as a group. Integration testing happens after unit testing, and before system testing.

In an integration test, all input modules are modules that have already been unit tested. These modules are grouped in larger aggregates and integration tests are applied to those aggregates. After a successful integration test, the integrated system is ready for system testing.

6972 questions
4
votes
4 answers

Testing Real Repositories

I've set up unit tests that test a fake repository and tests that make use of a fake repository. But what about testing the real repository that hits the database ? If this is left to integration tests then it would be seem that it isn't tested…
4
votes
1 answer

Integration testing an MVC application without the pain of UI automation

I'm starting development on a new MVC application that will be largely written using TDD. I'd like to add some integration tests to ensure that the fully wired application (I'm using StructureMap for IOC, NHibernate for persistence) works as…
Mitch A
  • 2,050
  • 1
  • 21
  • 41
4
votes
1 answer

Writing tests for REST api NodeJS MongoDB

I am writing a smal REST API in ExpressJS using Mongoose. I have written unit tests for all of the logic inside the app. The only thing that is left untested now is if the API returns the proper status codes and if the restricted resources are in…
kimpettersen
  • 1,602
  • 2
  • 13
  • 18
4
votes
2 answers

Selenium: retrieve data that loads while scrolling down

I'm trying to retrieve elements in a page that has an ajax-load scroll-down functionality alla Twitter. For some reason this isn't working properly. I added some print statements to debug it and I always get the same amount of items and then the…
la_f0ka
  • 1,773
  • 3
  • 23
  • 44
4
votes
1 answer

How do I disable jacoco-agent after jacoco:report?

I have a maven-project, using "test"-phase as well as "integration-test"-phase. In the test-phase, JUnit-Tests are executed, in integration-test there are HTMLUnit-tests. I am using Jacoco[1]-maven-plugin in purpose to measure the codecoverage done…
Markus Schulte
  • 4,171
  • 3
  • 47
  • 58
4
votes
4 answers

How do I access a MessageBox with white?

I have a simple message box in a WPF application that is launched as below: private void Button_Click(object sender, RoutedEventArgs e) { MessageBox.Show("Howdy", "Howdy"); } I can get white to click my button and launch the message box. UISpy…
Brownie
  • 7,688
  • 5
  • 27
  • 39
4
votes
2 answers

Best way to integration-test a spring mysql application?

I want to write integration tests for my application, which is using a MySQL db via jdbc. (FYI: The application has a user database and a wiki so far, so nothing sophisticated really) I came across a lot of posts, mostly talking about HSQLDB or H2,…
Sebastian Saip
  • 452
  • 2
  • 5
  • 17
4
votes
1 answer

How do you create a sample datasource for a Grails integration test?

In Grails 2.1.x, I would like to create an additional dataSource for an integration test so that I can verify that my service is dynamically pulling data from a user specified dataSource. Currently my tests are pretty simple such as: @Test void "get…
Justin S
  • 65
  • 5
4
votes
5 answers

How to test whether application handles slow/flaky filesystems properly?

I want to ensure that my application doesn't have any UI freezes when working on files on slow filesystem (e.g. networked, CD/DVD or spun-down HDD). I'm using Cocoa filesystem operations directly. I'm afraid it would be too much effort to mock or…
Kornel
  • 97,764
  • 37
  • 219
  • 309
4
votes
4 answers

Fitnesse vs any other subsystem testing tool

We are currently using Fitness for subsystem testing. we are having lot of issues using the tool, few to mention Development time for writing Fixture is more then writing the actual code Issues around check in of the dlls so that Qa can test…
Balaji
  • 2,109
  • 5
  • 27
  • 34
4
votes
2 answers

Any better alternative to Groovy for Java integration testing?

I am planning to test my Java-based web application using its programming interfaces. To this aim, I intend to call my session beans using their RMI/WebService interfaces and check if their supported services are correct or not. To do this, I need a…
TonySalimi
  • 8,257
  • 4
  • 33
  • 62
4
votes
1 answer

How to do ASP.NET Web API integration tests with authorize attribute

I do have authorize attribute applied on my Web API. I am calling Web API from MVC4 application in which I am using standard cookie based authentication. I need to call Web API method on controllers from integration tests but because authorize…
4
votes
2 answers

C# integration test run per connection string

We have an application that uses Entity Code First and we have added Devart for Oracle support. We have a series of integration tests that run through Visual Studio test runner that cover seed data testing. We would like to be able to run these…
4
votes
1 answer

Jacoco-IntegrationTests code coverage

I am not able to get over this issue- I have 3 classes A B and C. A is a integration test class which tests classes B and C together. B and C are classes in another package(w.r.t class A) Now when i run integration test class A i want the code…
user1728119
  • 387
  • 1
  • 5
  • 12
4
votes
1 answer

Unable to start embedded Google App Engine Server for Integration Tests

I am trying to start an embedded Google App Engine Development Server (sdk 1.7.3) inside a @BeforeClass of a test suite run by the maven failsafe plugin. The code that should start it looks like this: private static final String HOST =…
nwaltham
  • 2,067
  • 1
  • 22
  • 40