Run A Single Test Via A Command Line When Tests Are Located Within A Sibling Folder January 04, 2024 Post a Comment I have a folder structure: app/ | |-src/ | | | |-Code.py | |-tests/ | |-__init__.py |-test_Code.py I run my tests by issuing a command: app$ python3 -m unittest discover AnSolution 1: This should work. python -m unittest -v tests.test_Code.TestCase1.test_Code1 CopyAssuming that src is a also a module Baca JugaMl Model Is Failing To Impute ValuesDiscord.py Overwrite In Create_text_channel PermissionsHow To Solve Warning Message In Gekko Due To M.connection? Share You may like these postsHow Can I Do Post Request In Django?How To Get Cell Background Color In Python-docx?How To Add A New Column And Fill It Up With A Specific Value Depending On Another Column's Series?Deleting Elements From A List If They Do Not Follow 'if' 'or' Statements Post a Comment for "Run A Single Test Via A Command Line When Tests Are Located Within A Sibling Folder"
Post a Comment for "Run A Single Test Via A Command Line When Tests Are Located Within A Sibling Folder"