Skip to content

Add Unit and Integration Tests #89

@aliviahossain

Description

@aliviahossain

Problem: The project has no automated tests. This makes it risky to add new features or refactor code, as it's hard to verify that existing functionality hasn't broken.

Suggestion: Introduce a testing framework like pytest. Add unit tests for the functions in train_chatbot.py (e.g., clean_up_sentence, bag_of_words) and integration tests for the Flask API endpoint in main.py to ensure it returns correct responses.

PLEASE ASSIGN ME THIS ISSUE UNDER THE GSSOC' 25 LABEL. THANK YOU.

Metadata

Metadata

Assignees

Labels

GSSOC'25For issues and PRs related to GirlScript Summer of Code 2025.Level 2higher-priority tasks with complex issues to solve, more points

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions