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.
44 questions
3
votes
2
answers
561
views
Integration test for a script that writes a YAML file
I have a script bin/create_workflow_input.py that is part of a larger application that launches bioinformatics workflows. The script itself (not shown) writes into ...
4
votes
1
answer
130
views
Creating Dedicated Database for database test cases (Tests that I need to check the data are written or read sucessfully) in phpunit
I am making a base test class that bootstraps database Test cases
...
1
vote
1
answer
72
views
A test class for a REST application
Here's a suite of integration tests for my REST controller. Among other things, it reflects my efforts to reduce code duplication
First, I introduced some class fields. ...
3
votes
1
answer
142
views
End to End testing of user interaction in Rust
I am interested in any kind of possible improvement to this method of testing a Rust program with user interaction in an end-to-end manner (simulating user input and asserting a certain program output ...
4
votes
2
answers
2k
views
Clean up directories and files when a unit test fails
While running unit tests (most of them integration tests) with Python I create some directories. They need to be deleted after the test or when the test fails. The execution of the cleanup code need ...
1
vote
1
answer
73
views
Volunteer registration website Selenium testing
I have a volunteer registration website that I wrote some end-to-end tests for in Selenium. Selenium is of course software that lets you automate clicking around a browser, which makes it great for ...
0
votes
0
answers
516
views
MS Playwright Page Object Table Data Selector(s): Is there a simpler solution?
I'm writing some function tests and wrapping a Microsoft Playwright (it's similar to Selenium for those unfamiliar) IPage with a page object containing some helper ...
1
vote
2
answers
112
views
WaitFor method for website automation testing with Selenium WebDriver
I am trying to use Selenium for website automation testing tasks and I am new to Selenium testing framework. The the situation I faced is to wait the website components loading and then do the related ...
3
votes
1
answer
90
views
remote file follow using python
I've created an on-demand class that can be initiated to collected any new data written to file from start_recording call until ...
1
vote
1
answer
45
views
Simple login test, translated from java to python
I'm reading on how to write proper testing suites here. So I'm trying to follow the selenium example in the docs which is in Java; I'm trying to translate it to Python since my app is written in ...
5
votes
0
answers
108
views
SmartUnit: Unit Testing with DI
I was thinking about how unit tests require you to manually instantiate all your dependencies, even though many of them are the same for every test or don't really matter (such as logging, where ...
5
votes
0
answers
168
views
Using an extra mock simply to take advantage of the behaviour observation tooling
I'm writing integration for a project, but our framework doesn't provide any ability to inject dependencies, so I've written tests with a unit testing framework (GTest) and used a mock (GMock) in an ...
6
votes
1
answer
4k
views
Simple HttpClient usage for integration tests in .NET Core
I have this simple setup for a .NET Core project which is just a very basic HttpClient usage to do some simple integration tests to a RESTful API. For now the test project remains separated from the ...
2
votes
1
answer
160
views
418 I'm a TeapotServer for RESTful integration-tests
I created a test-server for RESTful integration-tests that I call TeapotServer because I like the status-code 418 that the ...
1
vote
1
answer
66
views
Creating a real unit test in Karma for Angular code [closed]
This is a piece of test code made for the Angular application.
The router object is a mock provided by the RouterTestingModule dependency. I wonder if such a test can be considered a unit test (...