- Fork repository to your github account
- Create a branch called “fix_bug” to fix the bugs in the fix_clean_tweets_dataframe.py and fix_extract_dataframe.py
- In branch
fix_bugcopy or renamefix_clean_tweets_dataframe.pytoclean_tweets_dataframe.pyandfix_extract_dataframe.pytoextract_dataframe.py - Fix the bugs on
clean_tweets_dataframe.pyandextract_dataframe.py - Multiple times push the code you are working on to git, and once the fix is complete, merge the
fix_bugbranch to master - Create a new branch called
make_unittestfor creating a new unit test for extract_dataframe.py code. - After completing the unit test writing, merge “make_unittest” to main branch
- In all cases when you merge, make sure you first do Pull Request, review, then accept the merge.
- Setup Github Actions CI to your repository such that when you git push new code (or merge a branch) to the main branch, the unit test in tests/*.py runs automatically. 10. All tests should pass.
After Completing this Challenge, you would have explore
- Unittesting
- Modular Coding
- Software Engineering Best Practices
- Python Package Structure
- Bug Fix (Debugging)
Have Fun and Cheers