소개
Automate the creation of comprehensive unit tests to ensure high code quality and reliability in Python projects. This skill provides structured guidance for implementing pytest best practices, including the use of shared fixtures, parametrized testing for diverse input scenarios, and sophisticated mocking techniques. It is particularly effective for data science and machine learning workflows, offering specific patterns for validating PyTorch model shapes, tensor arithmetic, and signal processing transforms, making it an essential tool for developers during complex refactoring or initial codebase stabilization.