Answer the question
In order to leave comments, you need to log in
What is the correct algorithm for writing unit/integrational tests for Django?
Hello.
Can you suggest an algorithm (sequence) for writing unit/integrational tests for Django?
I think something like this:
1) Check response.status_code for all pages. - there is a page or not.
2) Checking the saving of models - does it work or not.
3) Checking the work of forms - whether it works or not.
4) Checking the work of libraries for working with pictures.
....
but then I somehow find it difficult.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question