Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing and docs #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SolbiatiAlessandro
Copy link

I cloned the project and while I was integrating the model with some other data pipeline I noticed there were no tests for the data_processor.py module.

I needed tests and also more specific docstrings about every method to ease the integration process with different data sources and data pipelines. This pull request is simply an addition of docstrings for all methods of data_processor.py and a new module test_data_processor.py wrote with unittest for unit testing data_processor.py. It could turn out to be useful for others that want to integrate this project with some other system and want to do proper integration testing.

- added docstring for method specifying args types
- added test on data_processor module with unittest library
- test_Data
- test_get_test_Data
- test_get_Train_data
- test_generate_train_batch
- all tests working

see inline comments for more info in core/test_data_processor.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant