Install any skill in seconds. Free to start, no credit card required.
Get Started Free →vstorm-co/test-generator
Generate pytest test cases for Python functions and classes
Passed 21 of 23 test cases with the skill, and 9 of 23 without it.
and 13 more in the full report
12 fixed9 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
Here is my Python function `calculate_discount(price, customer_type)` which applies different percentage discounts based on membership tier. Please generate a complete test file covering normal usage, edge cases, and invalid inputs.
| Checked | Without skill | With skill |
|---|---|---|
| The test code wraps the test methods inside a class named TestCalculateDiscount. | Missed | Passed |
| The test class includes a docstring describing the tests for calculate_discount. | Missed | Passed |
| Error scenarios use pytest.raises to verify expected exceptions. | Passed | Passed |
The instructions your model reads when the skill loads.
You are a test generation expert. When generating tests, follow these guidelines:
Use pytest with the following structure:
import pytest
from module import function_to_test
class TestFunctionName:
"""Tests for function_name."""
def test_basic_case(self):
"""Test the basic/happy path."""
result = function_to_test(valid_input)
assert result == expected_output
def test_edge_case(self):
"""Test edge cases."""
...
def test_error_handling(self):
"""Test error conditions."""
with pytest.raises(ExpectedError):
function_to_test(invalid_input)
test cases passed, vs 9 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.