Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [integration-testing]

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

2
votes
0answers
62 views

Scheduler built with observables v3 (follow-up) - now testable

This is a 2nd follow-up to my previous one about a Scheduler built with observables. Although the last one was working correctly, it was only possible to see this ...
1
vote
0answers
15 views

Appium automated tests for manipulating checklists

I am new to automation. I have automated few test cases for a mobile app using appium and wanted to know the areas where my code can be improved further. ...
2
votes
0answers
26 views

WordPress plugin for shipping calculation

I am writing a WordPress plugin that allows shipping calculation on the product page. Originally, shipping calculation is only available in the cart. To calculate shipping costs on product page, ...
7
votes
1answer
100 views

Red-black tree in C

I would like to verify that the code fulfills the specification of a red-black tree or receive suggestions for improvements. ...
3
votes
0answers
55 views

Testing application stability by throwing random diagnostic exceptions

I'd like to be able to better test application stability. Usually when you're doing this, you run the application and keep your fingers crossed that it won't crash when an error occurs (be it a ...
2
votes
0answers
20 views

JSON Test Harness: Part 4

Part 1: JSON Test Harness: Part 1 Part 2: JSON Test Harness: Part 2 Part 3: JSON Test Harness: Part 3 Time to review some test harness code I have written. https://github.com/Loki-Astari/...
2
votes
0answers
17 views

JSON Test Harness: Part 3

Part 1: JSON Test Harness: Part 1 Part 2: JSON Test Harness: Part 2 Part 4: JSON Test Harness: Part 4 Time to review some test harness code I have written. https://github.com/Loki-Astari/...
2
votes
0answers
16 views

JSON Test Harness: Part 2

Part 1: JSON Test Harness: Part 1 Part 3: JSON Test Harness: Part 3 Part 4: JSON Test Harness: Part 4 Time to review some test harness code I have written. https://github.com/Loki-Astari/...
3
votes
0answers
38 views

JSON Test Harness: Part 1

Part 2: JSON Test Harness: Part 2 Part 3: JSON Test Harness: Part 3 Part 4: JSON Test Harness: Part 4 Time to review some test harness code I have written. https://github.com/Loki-Astari/...
2
votes
1answer
40 views

Dockerfile + CI for C build

I recently built a CI for my course project in C. I made 3 stages, to build docker image, compile my C sources and run the said project. That said, i think i could've do way better here but i don't ...
0
votes
1answer
69 views

Clean implementation of FTP File Cleaners

I was refactoring some of my utility code modules used in my test projects, and wanted to apply my knowledge of clean OOP design patterns and SOLID principles to make these modules more useful and ...
2
votes
0answers
112 views

Unit/Integration Tests for Maven plugin that creates Skipper packages

I am writing an extension to a maven mojo (spring-cloud-skipper-maven-plugin) and I am now writing tests that interact with a skipper server. However, getting the ...
4
votes
0answers
74 views

UI testing for a web application, with variant scenarios

I'm pretty new to software testing and am currently working on a cloud-based web application. Briefly, the application uses: Ext JS as a framework Bryntum's Siesta framework for testing Currently, ...
1
vote
1answer
1k views

Implementing integration tests in ASP.NET core using InMemory database

I am building a web application using ASP.NET core. Most of the tests in my application are unit tests, so I mocked every dependencies in order to have fast unit tests. On the other hand I am of the ...
1
vote
0answers
49 views

invariants in a Quixir property test

I've implemented the following prop. test: ...
3
votes
0answers
479 views

Testing a Django password reset procedure

I am writing tests for the password reset flow. It involves emails, links to reset the password etc so I made a really long test. It is testing quite a lot of things. If I break up the tests then the ...
1
vote
1answer
676 views

Test code for custom malloc

I've been working on a custom malloc where the test code is the following. ...
3
votes
1answer
4k views

Full integration test for a Console application

I'm sill experimenting with different design patterns for full integration tests for Console applications (and later also Windows Services) and I wasn't quite happy with the result of the refactoring ...
5
votes
1answer
102 views

Breakable Toy: Go CLI for Gitlab

I started to learn programming in Go and came up with a Breakable Toy, which is a CLI for Gitlab. To get something up and running fast, I used some Go libraries: Ginkgo for testing Cobra for basic ...
4
votes
0answers
504 views

Deploy a Python script as an AWS Lambda micro web service

I'm still new to python, but my history is in the C/C++ world with plenty of Makefiles, though I've rarely written from scratch such elaborate ones as this. The Hitchhiker's Guide to Python gave me ...
6
votes
1answer
142 views

Support static typing / analysis with dependency injection

I am working on creating a test library, and I found DI to be pretty convenient, maybe even to create more functional coding patterns. Normally we can have an awkward before-hook setup in Node.js ...
2
votes
1answer
220 views

Testing an implementation of ports-and-adaptors for tkinter

I'm trying to test my implementation of ports-and-adaptors for tkinter. Assume I have a tkinter Entry declared like so: ...
2
votes
0answers
3k views

Simple API testing framework for testing of SOAP xml requests

I have a need to try to automate the testing of a large Web Service with an XML API interface. The framework takes the form of a Mavenised Java project. The usual maxims apply: must be highly ...
1
vote
2answers
336 views

Function for getting strings consisting of random characters

I've made this function for to be used while testing. ...
2
votes
1answer
4k views

Translating a makefile to cmake

My makefile looks like this and I translated it to cmake: ...
4
votes
2answers
81 views

Creating a device configuration

During the test process of a device, there is a procedure that sets a device in a state in which it is ready to be tested (typically by writing default measure parameters, 3G connection parameters and ...
3
votes
1answer
1k views

Testing a Rails API controller

I'm building a JSON API. I'm writing my controller tests so that they compare the response body to actual JSON I'm generating in my tests using ActiveRecord. I wrote two helper methods that make the ...
0
votes
1answer
134 views

Basic sign-up method, testable and with try/catch [closed]

I am learning how to implement testing and try/catch statements into my code. I have a Laravel application with the following ...
3
votes
1answer
1k views

Integration testing with in-memory databases strategy

I have an .mdf DB file and I want to use this DB for integration testing. In every test I should: Create a copy of an .mdf file. Attach DB to an .mdf copy file Do testing Detach DB copy Delete DB ...
1
vote
2answers
2k views

Rails integration testing: Should we use strings or named routes in http requests? [closed]

When integration testing Rails applications HTTP request helpers can take a string or a named route as the first argument. I find myself writing: ...
2
votes
1answer
1k views

Integration test for database access

This integration test involves database access and hence opening and closing a database connection. Does it look correct? I am concerned about ensuring the the database connection is closed should the ...