We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
while working on
#1778
I ran through error that if --pyargs option comes user defined option gets deleted
And I figured out why!
which means we can independently run test using pytest soley!
Link
in this link it states that conftest.py should be located under folder of testpaths which means we have to fix
testpaths option under pyproject.toml from
pyproject.toml
testpaths = "tests" markers = [ "integration: Test cases that spawn Dockerized kernel sessions", ] filterwarnings = [ "ignore::DeprecationWarning:etcd3.*:", ] asyncio_mode = "auto"
to
testpaths = [ "tests", "src/ai/backend/test" ] markers = [ "integration: Test cases that spawn Dockerized kernel sessions", ] filterwarnings = [ "ignore::DeprecationWarning:etcd3.*:", ] asyncio_mode = "auto"
~~
there was confusion on the way! 😢
it says we have to fix pytest.toml to add options in pytest. since it search only root dir in pytest
pytest.toml
backend.ai/tests/common/conftest.py
Line 12 in 4762bc8
this code will not work!
So I suggest test code should be kept together on one directory! for future test!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
while working on
#1778
I ran through error that if --pyargs option comes user defined option gets deleted
And I figured out why!
which means we can independently run test using pytest soley!Link
in this link it states that conftest.py should be located under folder of testpaths which means we have to fixtestpaths option underpyproject.toml
fromto~~
there was confusion on the way! 😢
Link
it says we have to fix
pytest.toml
to add options in pytest. since it search only root dir in pytestbackend.ai/tests/common/conftest.py
Line 12 in 4762bc8
this code will not work!
So I suggest test code should be kept together on one directory! for future test!
The text was updated successfully, but these errors were encountered: