Skip to content

Commit a3e00de

Browse files
Sai Sandeep RamavathSai Sandeep Ramavath
authored andcommitted
Added README and report
1 parent 1d4cd7f commit a3e00de

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Integration Testing - Instructions to Run Tests
2+
3+
## Test File Location
4+
5+
Integration tests are located in: **`pandas/tests/util/test_integration.py`**
6+
7+
## Prerequisites
8+
9+
```bash
10+
# Navigate to project directory
11+
cd /Volumes/T7Shield/SWEN777/SWEN_777_Pandas
12+
13+
# Activate virtual environment
14+
source venv/bin/activate
15+
```
16+
17+
## How to Run Tests to Reproduce Results
18+
19+
### Run All Integration Tests
20+
21+
```bash
22+
python -m pytest pandas/tests/util/test_integration.py -v
23+
```
24+
25+
**Expected Output:**
26+
```
27+
collected 6 items
28+
29+
pandas/tests/util/test_integration.py::TestSandeepIntegration::test_series_to_dataframe_dtype_preservation PASSED
30+
pandas/tests/util/test_integration.py::TestSandeepIntegration::test_dataframe_from_dict_mixed_series_dtypes PASSED
31+
pandas/tests/util/test_integration.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Integration Testing Report
2+
3+
## Test Design Summary
4+
5+
This integration testing effort focuses on verifying interactions between multiple pandas modules. The tests are organized into three areas, each covering at least 2 module interactions:
6+
7+
### Test 1: Series-DataFrame-Dtype Integration (Sandeep Ramavath)
8+
**Modules Integrated:**
9+
- `pandas.core.series` (Series class)
10+
- `pandas.core.frame` (DataFrame class)
11+
- `pandas.core.internals` (internal data managers)
12+
- `pandas.core.dtypes` (data type handling)
13+
14+
**Interactions Tested:**
15+
1. **Series.to_frame()**: Tests dtype preservation when converting Series to DataFrame through internal manager conversion
16+
2. **DataFrame construction from dict**: Tests how DataFrame handles multiple Series with different dtypes (int64, float32, object) during construction

0 commit comments

Comments
 (0)