Loading topic
@pytest.mark.parametrize decorator, and have already generated a first set of unit tests from a prompt that includes the code and project conventions. Here you will ask the assistant for edge cases on purpose and check that the parametrized tables it3 min readparametrize and pytest.raises do, and you have already generated tests from a prompt as in the earlier chapters. Generated tests usually run and pass on the first try. A passing test only shows that the code and the test agree. It does3 min readpytest and python -m doctest, and have already written a prompt that supplies context, as covered earlier in this tutorial.2 min readapply_discount as in earlier chapters. Here you will turn the habits from those chapters into rules that a team and a pipeline 3 min read