Questions tagged [integration-testing]

Testing performed to expose defects in the interfaces and in the interactions between integrated components or systems.

Filter by
Sorted by
Tagged with
2
votes
2answers
67 views

Using Chai, how can I assert the result of “git pull”

I am using Mocha and Chai.js to test a function which executes git pull in a Terminal and I want to assert that it results in Already up-to-date. How can I accomplish this? What is the best approach ...
4
votes
3answers
1k views

What's the difference between integration and contract testing of microservices?

Well, integration testing supposed to be the testing of integrated components. Contract testing supposed to be testing of the way components interact with each other (API). But what the main ...
3
votes
2answers
69 views

Script debugging on AJAX base web application. Can I bypass my dependent module test script execution in Eclipse?

I'm testing a web application in which all web controls are loaded dynamically using AJAX. I have a test script project in java Eclipse IDE. Here is my problem. If, for example, I am debugging a test ...
1
vote
3answers
80 views

Writing Integration Tests programmatically vs using Postman for REST APIs

I am developing REST APIs in my project and using .net core 3.1. Various best practices suggest that we should write Unit Tests as well as Integration Tests for our project. I agree with the point of ...
16
votes
5answers
36k views

How does system testing differ from System Integration Testing (SIT)?

I was asked this question during an interview. My thoughts are SIT is performed on a complete systems and System Testing can be done on a single module as well.
0
votes
3answers
89 views

Assertion on static value or calculated one

This may be more of a theoretical question than a practical one, but I'd like to know the community's opinion. Some context: On some integration UI test, in which we are testing that a field ...
1
vote
1answer
34 views

How to compare big objects with FluentAssertsions?

I am doing integrative xunit tests on a .NET Core web application. The result of a call can sometimes be a large object with different levels of hierarchy. MainEntity { public ...
7
votes
4answers
570 views

How to do integrated testing?

So I have been reading up on a lot of books surrounding testing. But all the books I've read have the same flaws. They will all tell you the definitions of testing. But I have not found a single book ...
6
votes
3answers
1k views

How to test if my application method handles HTTP status 404 of a REST API without actually calling that REST API

I am currently trying to automate some of the testing for my application using JUnit. My application has a method which calls a 3rd party REST API. I need to check if that method is handling HTTP ...
0
votes
0answers
46 views

Integration tests and data used in these tests

I read a lot about unit and integration tests and how they work with maven and java and how it works with Continuous Integration. I am using Flyway for db migrations, the schema part is already done. ...
7
votes
3answers
399 views

What is the difference between big bang and top down approach in Integration testing?

I've read lots of articles on the internet but still having confusion, what really happens in both of them and what is the difference between them ? Could someone please elaborate with a real time ...
1
vote
1answer
40 views

HTTP client test integration into Jenkins

IntelliJ Ultimate offers a code editor to test HTTP request (including asserts). Those tests can even be stored as a file or run-config to be executed for later api testing. The official documentation ...
3
votes
0answers
664 views

How to integration test a Web API with identity server auth tokens

I have a scenario where I need to set up integration testing against our microservice architected application. This will mean creating some tests using Postman to hit our API, and running them with ...
0
votes
2answers
52 views

Writing Better Stubs To Local Behaviour Testing

I have recently faced an embarrassing bug in PPE and want to improve my testing strategy so that I can mitigate such bugs in future during local testing itself. I have an API that interacts with a ...
-1
votes
1answer
82 views

What is interface testing between software modules

I have already looked at the answers in: What is the difference between integration and interface tests? The answers to these questions are (understandably) too abstract. In the context of embedded ...
1
vote
2answers
134 views

Setting up test data efficiently for large sets of integration tests: per test or not?

With huge sets of integration tests, data setup is becoming somewhat of an obstacle in terms of runtime. What is your experience to tackle similar situations? Scenario: 200 API integration tests ...
1
vote
0answers
41 views

Best approach for end to end testing for integration of web, hardware and desktop in Ci/CD?

I have a very unique application that involves a web portal, USB hardware dongle license and windows executable utility that configures the hardware As a customer buy a USB dongle hardware in a web ...
5
votes
7answers
19k views

What is the difference between integration and interface tests?

I have googled many times but still not understand clearly about interface testing in software testing, who can explain this , many thanks?
0
votes
2answers
74 views

Automation data setup: via SQL or via APIs?

I've had this discussion recently and would appreciate some more opinions and experiences of this community. When setting up data for integration tests (API or UI), is the favored approach via SQL or ...
1
vote
1answer
320 views

Has anyone written automated tests for Looker?

We are starting a reporting project that integrates Looker and Snowflake to gather data from multiple micro services. We were wondering if anyone is doing something similar and how do / did you create ...
7
votes
2answers
8k views

Why do code coverage of integration test?

in my project I started code coverage for unit and integration test with gradle + jacoco. It's already working and generating reports. I saw a lot of questions and tutorials about how to do code ...
0
votes
2answers
53 views

How should I perform an E2E test for a report that updates only once per day?

I would like to perform an end-to-end test where I create some data via a UI and then verify it appears in the appropriate report the following day. The challenge is that the report only updates once ...
2
votes
4answers
154 views

Diff between Integration(written by dev) and End to End testing(written by qa)

Recently, I was in conversation with a developer, developing an API. We had a conversation appertaining to testing of that API, while I told him we will test the end to end flows of API using ...
1
vote
3answers
47 views

When nightly testing integrations with external systems, how should random failures of the external system be handled?

Our product can integrate with a variety of external systems. We support 5 different databases for storing business data, 5 different version control repositories, 5 different bug trackers,... We also ...
0
votes
2answers
797 views

How to test decoupled front and back end web apps

I often struggle to see the benefit of unit testing, especially in a web app environment that uses a JS frontend and an API + database backend. On both the front and back end, you would typically ...
0
votes
1answer
85 views

What does integration testing an API involve?

I'm diving into the world of API testing and coupled with that integration testing. It's made me think quite a lot about a few things: 1) Who would carry out integration tests? The dev or the tester? ...
5
votes
1answer
129 views

Good strategies to test integration with multiple external providers

I have a single service that acts as "middle-man"/gateway between a few internal services and multiple external complex APIs, over 20 to 30+ different ones. I want to direct my testing efforts in ...
4
votes
2answers
1k views

Difference between Integration Testing and Continuous Integration Testing

In my college, I learned about Integration testing in which we combine the whole code together and then test it at once after we are done with unit testing. A few days back, I heard about Jenkins, ...
1
vote
2answers
57 views

How does one perform integration test on distributed machines?

Background: I developed a system which allows one to upload articles and products to remote wordpress instances. This system connects via Basic Authentication and the WooCommerce REST-API over HTTPS. ...
0
votes
2answers
47 views

Are there any non-unit testing frameworks for visual studio or other?

It seems SDETs or similar have to bend unit test frameworks to perform integration tests. Test discovery in Xunit, Nunit, etc. intentionally discover tests in non-orderly ways and using TestPriority ...
1
vote
1answer
23 views

Should NullPointerExceptions be avoided in Integration Tests?

While writing Integration tests for spring applications, I tend to come across checks for different Multilevel Data Objects For Eg: AssertNotNull("Node 10 is null", getNode1().getNode8().getNode10()....
0
votes
2answers
119 views

Integration testing a website with no public API

I have recently been reading about the test pyramid and how integration testing fits into the grand scheme of things, when it comes to web services, with regards to API testing. QUESTION: Does API ...
10
votes
3answers
2k views

Tests in CI: Are API + Integration Tests the most suitable?

In my experience, automated GUI tests may take too long for a build of Jenkins (even parallelized) and may demand a lot of maintenance. On the other hand API + Integration tests are way faster, do not ...
2
votes
3answers
5k views

Who is typically responsible for integration testing?

I am confused whether a developer or tester should typically do unit integration testing. For example, I know that Unit Testing is done by a developer, System Testing is done by a tester, and User ...
-1
votes
1answer
257 views

Please Arrange the type of testing in ascending order in which Tester should Test the application? [closed]

Could you please arrange these Below testing n which Tester should Test the application(where to start and where to end) in Ascending order with Example of each one of them. 1.Smoke testing 2....
2
votes
3answers
328 views

API testing single layer

I would like to start writing some API tests for one of our APIs, but we are seeing a lot of issues with stability of other APIs and I'm not really sure how to handle that problem. To clarify I have ...
2
votes
1answer
39 views

Split roles for devs doing feature implementation and integration testing?

I'm looking out for patterns how to more effectively bring QA topics into our agile product development team. One idea is to let one developer do the implementation with TDD (so alongside unit tests) ...
1
vote
2answers
130 views

Behat tests take over an hour to run

We have a test suite of around 60 feature files, 135 scenarios, 1800 steps. We currently use the free 100 builds on semaphoreCI which occasionally successfully runs all of the tests, but quite often ...
3
votes
1answer
109 views

Testing cli programs + file operations

I'm building a dotfiles manager program for uni in rust, and looking for ways to test aspects of the program. As far as I can see, it can be broken into 2 parts: unit testing for logic and individual ...
1
vote
1answer
4k views

E2E - How to test login with fake data - username and password?

I do have an angular login page build as a SPA: http://localhost:port/login which works fine. And I wrote an E2E integration test for that. It runs fine regarding checking the input-text for username ...
2
votes
1answer
705 views

What is the best way to do test coverage for the automated tests

I would like to know is there any way for us to find test coverage utilizing any code coverage libraries or something similar. For example, for integration testing, I am using automated solutions. If ...
4
votes
3answers
251 views

Seriously struggling to understand “integration” testing

I am seriously struggling to wrap my head around this one, so its best to describe it. I have been tasked to setup automation at my current company and thus far I have been building out the framework ...
7
votes
1answer
8k views

E2E testing of Angular app with Python backend: Protractor/JavaScript vs webdriver/Python

We have extensive Python-based application, with many E2e tests (and of course unit tests), all in Python). We started e2e test in FitNesse (Selenium1, with Python fixtures) many years ago. Recently ...
6
votes
2answers
256 views

Is it a good practice to run functional tests with coverage?

Does it make sense to run once in a while, say, on a weekly basis, integration/functional tests against special build to have a coverage report. If anyone here has some practical experience of using ...
4
votes
2answers
3k views

What does Automated Integration Testing look like?

I'm aware of the test automation pyramid, unit/integration/gui based automated testing. My question is, what does an integration test look like? I was always under the assumption for the likes of a ...
3
votes
4answers
185 views

How can I use humor to explain integrated testing?

I'm looking for fun examples of why integrated testing is important
3
votes
1answer
891 views

Is Fitnesse only used as a acceptance test tool based on integration testing?

I have read a lot about Fitnesse over the last week. From what I have heard, Fitnesse is commonly used as an acceptance testing tool that relies on a set of integration tests, as mentioned at Agile ...
3
votes
4answers
660 views

Does 'system testing' precede 'system integration testing'?

Accordin to ISTQB etc., it should. But from practice I can see it is not that clear. An example: We have a backend (pulling data from external systems, processing...), DB, and frontend. Testers do ...
1
vote
1answer
164 views

Can I test different system dates/times within one Ranorex test suite run?

A feature of ours requires the SUT's execution over various days. We would like to cover this functionality within our integration tests. So I was wondering, is it possible and safe to advance/modify ...
3
votes
3answers
539 views

How to isolate test cases from each other?

Our system under test is a GUI application. It appears beneficial to have test cases isolated, i.e. their execution does not depend on each other. For example, a later test case should not rely on ...