Company
Date Published
Author
PyBites Team
Word count
289
Language
English
Hacker News points
None

Summary

In an effort to enhance Python programming skills, PyBites has introduced a challenge for October that encourages participants to write tests using the pytest framework. Participants are prompted to add tests to their own repositories lacking them, contribute to open source projects by adding tests, or work on a simple Flask API, with all contributions counting towards Hacktoberfest. The challenge aims to familiarize participants with pytest, encouraging experimentation with fixtures and features, and suggests using the pytest-cov plugin for checking coverage. Automated testing through CI services like Travis or Semaphore is recommended, and participants can submit their work to the PyBites Community branch to receive credit. The initiative is part of PyBites' broader mission to teach Python through community-driven, practical exercises, while also fostering a sense of collaboration and feedback through GitHub, Twitter, and email.