Alhern / fenceStreet

A New York Stock Exchange simulator app using Django and IEX Cloud.
0 stars 2 forks source link

Création de tests unitaires #10

Open Alhern opened 3 years ago

Alhern commented 3 years ago

Dans /stocks/tests.py

L'idée est d'automatiser autant que possible les tests de nos fonctions.

Docs + exemples : https://docs.djangoproject.com/fr/3.2/topics/testing/overview/ https://docs.djangoproject.com/fr/3.2/intro/tutorial05/#test-a-view