Home / Companies / Pybites / Blog / Post Details
Content Deep Dive

You can now hone your testing / pytest skills on our platform

Blog post from Pybites

Post Details
Company
Date Published
Author
Bob Belderbos
Word Count
1,512
Language
English
Hacker News Points
-
Summary

PyBites has introduced a new feature called Test Bites, designed to enhance users' programming skills by teaching them how to write test code using pytest. This addition was highly requested by users who wanted to learn test writing rather than just analyzing test outputs. Test Bites require users to create test functions for given code modules, which are then checked for syntax, successful test execution, and code coverage. The platform utilizes MutPy, a mutation testing tool, to simulate errors and ensure robust test coverage, while also incorporating pytest-cov for more detailed feedback. Despite initial challenges with AWS Lambda’s lack of parallel processing capabilities, a workaround was found using multiprocessing.Pipe, enabling the feature to function effectively. The new feature aims to boost both testing skills and overall programming proficiency, with plans to roll out a dedicated learning path for Test Bites in the future.