Skip to content

Conversation

@Satvik-Singh192
Copy link
Contributor

Description

Added a complete testing workflow for the ETL project.
Implemented comprehensive unit tests for the extract() function located in app/etl/extract.py.
The tests cover both positive and negative scenarios including:

  • Invalid file path
  • Invalid file extension
  • Invalid encoding
  • Empty file
  • Valid CSV extraction

Additionally, updated the README to include detailed documentation on how to set up and run tests using pytest.


Semver Changes

  • Minor (new features, no breaking changes)
  • Patch (bug fix, no new features)
  • Major (breaking changes)

Issues

Closes #14


Checklist


@Dheerajyadav1 Dheerajyadav1 merged commit a5e3cce into OPCODE-Open-Spring-Fest:main Oct 24, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Unit Tests for Extract Function

2 participants