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

Sorting out automated testing in CI pipeline and getting conflicting information related to building, unit testing and Docker images

I seem to get a unique response for every person that I ask, or every article that I read, which is just confusing me even more. Basically, I'm trying to setup automated testing in the CI pipeline ...
1
vote
1answer
38 views

Where do we keep integration tests in microservices projects?

Let's suppose we're talking about a microservices project. Then we usually have different repositories for each microservice. Unit tests, component tests (low layers of test pyramid) are often kept in ...
0
votes
1answer
23 views

How to test functions which interacts with databases?

I have a function getEmployeeData() which internally calls generateSQL() to get the SQL and execute it and returns the final result. Now, how to test this functionality? Having JUnit test to validate ...
0
votes
1answer
46 views

Custom Test Case Name in TestNg HTML reports

I am trying to override the test case name in the testNg HTML report since I am using the data provider and each test data depicts something different. To do this, I added the following: I am setting ...
0
votes
1answer
33 views

how to integrate testrail with selenium

Hi everyone as I am just started to work in testrail and I want to integrate my testrail with selenium using Eclipse What I want to do? I want to run my test case in selenium and if its pass then my ...
2
votes
2answers
200 views

Code coverage for Integration tests

Let's say that I have a project where most of the codebase is already covered with Unit Tests (using mocks). How many Integration Tests should I write then? The entire codebase is already covered with ...
1
vote
1answer
41 views

Integration tests without mocking vs. unit tests

Let's say that I have a software component A (function, class, react component, etc.) that uses three other software components B, C, D. If I try to test fully test A (without mocks!), then I would ...
0
votes
0answers
16 views

mongodrop slow on small db

I'm using a real Mongo instance for my integration tests. On every test, I call mongorestore my_db_state --drop because I need a clean db to start the next test. On my tiny db (with only one test user ...
0
votes
1answer
46 views

Flutter driver Test Explorer

is there a way to get some kind of Flutter Test Explorer into the IntelliJ IDE? I am thinking of something like JUnit has in Visual Studio. Let's say that it should be something like this. My tests ...
0
votes
0answers
62 views

Flutter driver handle minimalized application

I am making some testing scenarios for my flutter application. One of the functionalities is "About us" section. When tapping on "About Us" user is redirected to the web page and ...
1
vote
0answers
46 views

Integration testing of web application with asynchronous “jobs”

A web application I'm developing essentially serves to queue up jobs which are processed on another server. Depending on the load, that could be anywhere from 5 minutes to 2 hours later before the ...
2
votes
3answers
876 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 ...
1
vote
1answer
172 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 ...
0
votes
3answers
98 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 ...
6
votes
3answers
3k 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
52 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. ...
1
vote
1answer
48 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 ...
0
votes
2answers
53 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
197 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 ...
5
votes
3answers
4k 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 ...
1
vote
0answers
42 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 ...
0
votes
2answers
90 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
2answers
298 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 ...
0
votes
2answers
56 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
234 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
1k 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
98 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
206 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 ...
1
vote
1answer
369 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 ...
0
votes
2answers
56 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
171 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 ...
7
votes
3answers
622 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
2answers
58 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. ...
-1
votes
1answer
358 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....
3
votes
3answers
9k 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 ...
10
votes
4answers
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
342 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
269 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 ...
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
753 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
274 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 ...
4
votes
0answers
711 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 ...
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
202 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
111 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 ...
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, ...
6
votes
2answers
272 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 ...