- 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_bug
copy or renamefix_clean_tweets_dataframe.py
toclean_tweets_dataframe.py
andfix_extract_dataframe.py
toextract_dataframe.py
- Fix the bugs on
clean_tweets_dataframe.py
andextract_dataframe.py
- Multiple times push the code you are working on to git, and once the fix is complete, merge the
fix_bug
branch to master - Create a new branch called
make_unittest
for 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 Travis 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