Loading topic
pytest. You should also have used a chat or editor-based AI assistant before. By now you know how to state a goal, add context, set constraints, and give examples. This chapter covers the last part of a prompt: the form the answer should take.3 min readpytest tests. It also assumes you have already written a prompt with a goal, constraints, and examples, as in the earlier chapters. Here you check what the assistant gives back.3 min read