-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
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
Issues with colcon test --python-testing pytest #105
Comments
Please provide a SSCCE to easily reproduce your problem. -- The CLI help for
Since your package declares |
As it turns out passing For this specific issue not passing the argument should still work and use |
Minimal Example
Issue
Seems the tests run, but how do I get the test output? Thanks again for all the help! |
This (
|
Ah, alright, thanks! I'll close the issue then (: 👍 |
Hi there! I'm having issues using
colcon test
. The details are below.The Issue
Calling
colcon test --packages-select rmf_mock_adapter_python --python-testing pytest
does not seem to work.The issue also persists if the
--python-testing setuppy_test
argument is used as well.I have a toy test in the
<package-dir>/tests
directory, and thetests
directory has an__init__.py
.But that doesn't matter because tests don't even begin to get run.
Calling colcon test without the
--python-testing
argument specified causes the error messages listed below to disappear. But the package fails with an[ Exited with code 2 ]
Calling
pytest
manually in thetests
directory shows test results as expected.Not sure if it's an issue with my set up or with colcon.
Environment Details
Ubuntu 18.04
Colcon versions
setup.py
Relevant sections. Everything else builds normally, only the test messes up.
Error messages
The text was updated successfully, but these errors were encountered: