ã¯ããã« Django Restframework ã§éçºããAPIã«å¯¾ãããã¹ãã³ã¼ããä½æããã ãã®ããã«å¿ è¦ãªãã¦ãã¦ãããã±ã¼ã¸ãªã©ã«ã¤ãã¦ã¾ã¨ããã ãµã³ãã«ã³ã¼ã ãã¡ãã«ä½æããã³ã¼ããåèã«ä»¥ä¸ã®è©±ãé²ãã¦ããã sampleapp.tests é ä¸ã«ãã¹ãç¨ã®ã³ã¼ããä½æãã¦ããã 使ç¨ããã©ã¤ãã©ãªç Pythonã¯3.8.x Django 3.0.x Django Restframework 3.11.x factory-boy 2.11.x pytest 4.0.x pytest-django 3.4.x ãã¹ãåãã®ã©ã¤ãã©ãªèª¬æ factory-boy ãã¹ããã¼ã¿ãç°¡åã«ä½æããããã®ã©ã¤ãã©ãªã https://factoryboy.readthedocs.io/en/latest/ https://github.com/FactoryBoy/factor
manage.py help test usage: manage.py test [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--noinput] [--failfast] [--testrunner TESTRUNNER] [-t TOP_LEVEL] [-p PATTERN] [-k] [-r] [--debug-mode] [-d] [--parallel [N]] [--tag TAGS] [--exclude-tag EXCLUDE_TAGS] [test_label [test_label ...]] ã³ãã³ãã®ãªãã·ã§ã³ -v {0,1,2,3} --verbosity {0,1,2,3} å®è¡ãã°ã®è©³ç´°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}