Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

pytest tests in subfolder

# Create a file containing

import os, pathlib
import pytest

os.chdir( pathlib.Path.cwd() / 'Tests' )

pytest.main()

# And use the command `python tests.py` to run it.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pytest #tests #subfolder
ADD COMMENT
Topic
Name
2+6 =