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
3 answers

Are Grails Integration Tests Sensible to Their Name?

From time to time I run into the issue that Grails integration tests the name of which ends in "IntegrationTests" don't work coming up with exceptions that show that GORM methods have not been added to domain classes. After renaming those tests to…
johanneslink
  • 4,877
  • 1
  • 20
  • 37
4
votes
1 answer

Can't get MvcIntegrationTestFramework to work

I'm trying to get Steven Sanderson's MvcIntegrationTestFramework to work with our MVC 4 application. I really like the idea of being able to write integration tests that does not require a browser yet tests the entire flow. I can’t get this to run.…
Peter
  • 249
  • 2
  • 3
4
votes
2 answers

Running IIS server with Coypu and SpecFlow

I have already spending a lot of time googling for some solution but I'm helpless ! I got an MVC application and I'm trying to do "integration testing" for my Views using Coypu and SpecFlow. But I don't know how I should manage IIS server for this.…
Blackmore
  • 41
  • 1
4
votes
1 answer

dbunit dataset does not put boolean field into db

I use DbUnit for integration tests. I have the following dataset.
nebenmir
  • 881
  • 2
  • 8
  • 16
3
votes
2 answers

Output HTTP responses with Jersey Test Framework?

Can the Jersey Test Framework be configured to output the raw HTTP responses when a test case fails? I'd like to be able to see the detailed error information returned by the server.
HolySamosa
  • 9,011
  • 14
  • 69
  • 102
3
votes
2 answers

How to use an XML Schema to validate @ResponseBody marshalled by JAXB

I have a system returning a lot of XMLs using @ResponseBody and @XmlElement marshalling (JAXB). What is the best way to validate the resulting XML using a created Schema? I still need to run through the elements and test those, but a XML Schema…
mamruoc
  • 847
  • 3
  • 11
  • 21
3
votes
1 answer

How to write tests using Watin & SpecFlow that are not tightly coupled to your HTML markup?

I learned basics of web-based integration testing using SpecFlow and WatiN. From what I understand, SpecFlow decides whether test has passed based on whether a specific HTML markup is present on the page - buttons, links, etc. But doesn't that mean…
chester89
  • 8,328
  • 17
  • 68
  • 113
3
votes
2 answers

KIF Framework for iOS: Can it simulate touch-and-hold gesture?

How do I simulate a touch-and-hold step on a view using the KIF-framework for iOS
memmons
  • 40,222
  • 21
  • 149
  • 183
3
votes
2 answers

How can I start a Play! Framework server from within a test

I want to write webdriver tests against my Play application. Normally when I do this in Java, I use Jetty to pull up a web server from within the test and run my webdriver tests against that server. I've been trying to look in the endless amounts of…
karianneberg
  • 329
  • 4
  • 17
3
votes
1 answer

Capybara + Rspec + Selenium: Page always blank in browser

I'm trying to write integration tests with Capybara, but every time the Selenium-controlled browser pops up, the page is blank. Furthermore, for a simple assertion like page.should have_selector('title'), I get errors like Failure/Error:…
dantswain
  • 5,427
  • 1
  • 29
  • 37
3
votes
2 answers

maven-embedded-glassfish-plugin deploying 2 applications

I have the following use-case: I am having a web-application implemented with Spring MVC using a Web service implemented with Spring WS. The projects are using maven as build tool. Now I want to implement integration test for the…
Mirea Vasile
  • 421
  • 1
  • 8
  • 12
3
votes
1 answer

Is there a method to output to STDOUT in a Grails Spock test?

I would like to follow the progress of my Grails Spock integration test by outputting to STDOUT at the beginning of each test. So, while the test runs, both log data output from the service and controller, and the output showing the beginning of the…
bitbucket
  • 1,171
  • 1
  • 9
  • 20
3
votes
2 answers

How to run selenium tests with maven?

i want to run selenium test with maven as part of build, so here's my configuration: org.apache.maven.plugins maven-war-plugin 2.1.1
fresh_dev
  • 6,694
  • 23
  • 67
  • 95
3
votes
3 answers

Running integration tests across multiple machines

I have an n-tier application with the different tiers running on different machines. I need to execute coded integration tests on those different machines, preferably using the MSTest framework since that's what everything else is written…
MarcE
  • 3,586
  • 1
  • 23
  • 27
3
votes
2 answers

What is the best way to test clients of different programming languages with a server?

We have written clients in different programming languages (Java, .NET/Silverlight, Flash, Javascript) that communicate with a server, as our target is to support various technologies on client side. The functionality they are supposed to perform is…