Integration tests
Overview
Integration testing ensures that different components of the system work together as expected. These tests are designed to validate the interactions between the user, backend, and system logic by simulating real-world scenarios using mock objects.
Testing Approach
- Test Cases correspond to a use case
- Mock objects used to simulate input
- Tests run without manual assistance with clear pass/fail results
Integration Test Cases
1. Creating and Executing Test cases
Objective: Ensure that the Tester can create and execute test cases and provide feedback to the coder
Test Steps:
- Simulate code functions that compile.
- Enter various tests that can either pass or fail
- Provide that feedback back to the coder.
Expected Result: The Coder is made aware what test cases pass and fail with the current code.
2. Code Submission and Evaluation
Objective: Ensure that submitted code is evaluated and given valuable feedback
Test Steps:
- Simulate code
- On submission, code is evaluated based on major components, space and time complexity etc..
- Display of what tests used for grading pass and fail (from the backend)