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.
1
vote
2answers
44 views
Function for getting strings consisting of random characters
I've made this function for to be used while testing.
...
1
vote
1answer
103 views
4
votes
2answers
64 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 ...
0
votes
0answers
29 views
Testing the integration of a complicated system
I'm trying to write tests for a recurring billing system. I want these tests to show that the functionality of the system works when put together - I have lots of unit tests, but I wanna make sure ...
2
votes
1answer
195 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
73 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
294 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
1answer
407 views
Rails integration testing: Should we use strings or named routes in http requests?
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
873 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 ...
6
votes
2answers
2k views
Generic wrapper for a task-based API
The idea was to provide a clear-looking, type-inferring framework to test a task-based API (it's for integration testing, and test methods should be as clear as possible).
All the tested API ...