Questions tagged [integration-testing]
Testing performed to expose defects in the interfaces and in the interactions between integrated components or systems.
96
questions
0
votes
3
answers
50
views
Login Integration Testing Good and Bad Password
I am writing Cypress Integration Test for UpdatePassword. One reason I wanted one whole test: We had a minor bug before, when the user enters a bad password, and then fixes it up, the Submit Button ...
-1
votes
2
answers
43
views
Unit Tests or Integration Tests for validating file contents
I have a Node.js application, and it already has Unit Tests and is using the Mocha framework for the same. It is checking the functions individually. These tests are integrated into the CI/CD pipeline ...
0
votes
2
answers
50
views
GUI for end-to-end tests
I'm helping an organization that has a website with some moderate-level complexity, past the point of just a bunch of static web pages but not to the point where they have a developer on staff.
To ...
2
votes
2
answers
53
views
Unit testing for a non-atomic function if all atomic components have been tested
I am writing a module and I have a question about the best way to test a "non-atomic" function. My problem is that I am not sure how much and what specifically I should test because it being ...
2
votes
3
answers
791
views
Measuring integration test efficiency
We would like to shift quality left and motivate developers to write integration tests - both narrow and broad. The biggest challenge is to introduce metrics we could use for measuring the ...
1
vote
1
answer
34
views
How is compatibility of business logic tested in microservices?
Each microservice is tested and deployed independently from other microservices. To guarantee the compatibility of API the Consumer-Driven Contracts approach is used. But how is the compatibility of ...
1
vote
2
answers
60
views
Should I ensure if integrated services are called correctly?
I've worked with a big project where the developers are writing wrong queries to bring data from the DB. Eg a DB query which brings all data from DB and then filter it. It is impacting the performance ...
1
vote
0
answers
46
views
Delineating unit tests and integration tests in Testing Library for React and unittest
This question is related to Testing Library for React and unittest for Python.
I'd like like to have a single file that contains unit tests and integration tests for a component, and be able to target ...
11
votes
2
answers
1k
views
Should integration tests test business logic?
In unit tests I'm always trying to test as many business cases as possible, trying to reach 100% code coverage. Unit tests are great and pretty simple because all tests are made in isolation.
...
0
votes
1
answer
68
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
1
answer
611
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
1
answer
32
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
1
answer
823
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 ...
1
vote
1
answer
207
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 ...
3
votes
3
answers
1k
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
1
answer
101
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
0
answers
21
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
1
answer
61
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 ...
1
vote
0
answers
91
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 ...
6
votes
3
answers
3k
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
1
answer
2k
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
3
answers
126
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 ...
7
votes
3
answers
7k
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
0
answers
68
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
1
answer
88
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
2
answers
60
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
1
answer
355
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 ...
9
votes
3
answers
11k
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
0
answers
56
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 ...
1
vote
4
answers
4k
views
How can I test when app requires OTP via SMS?
I'm using Selenium with Java to test a web application. The app requires a user to receive a One-Time Passcode (OTP) to authenticate they are, who they say they are and to authorize several critical ...
0
votes
2
answers
276
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
2
answers
866
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
2
answers
93
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
4
answers
345
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
3
answers
53
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
2
answers
2k
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
1
answer
125
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
1
answer
364
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
1
answer
538
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
2
answers
71
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
1
answer
30
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
2
answers
359
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 ...
8
votes
3
answers
994
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
2
answers
65
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
1
answer
537
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....
4
votes
3
answers
13k
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
4
answers
3k
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
3
answers
356
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
1
answer
44
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
2
answers
629
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 ...