Skip to content
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

[pytest-xdist] [FR] Pytest-xdist should have its own remote agent #2326

Closed
GeorgeFischhof opened this issue Mar 22, 2017 · 4 comments
Closed

Comments

@GeorgeFischhof
Copy link

Hi There,

I started to used pytest not too far ago. And I found the xdist plugin. I would like to run test on a remote windows macine.

I saw in the documentation
(https://pypi.python.org/pypi/pytest-xdist/1.15.0)
the reference for socketserver.py

I checked the source, and found that it is mainly for unix/linux systems.
I tried it on windows 7, python 3.5. I sent only a print command to the remote, and it was printed successfully, but after that it wrote some errors. ...

Then I read the docs further and found that it says that init.py files should put next to my tests as the remoting handles them this way.

So I bet I would be able to rewrite the socketserver.py, but I think it would be better to create an authentic agent.

And of course I would install pytest on the remote as well (to have all the capabilities on the remote too)
As Python is installed on remote, I think there is no reason not install pytest as well.
(instead of socketserver.py third party stuff)

With this the xdist would be more complete.

Kind regards,
George

@RonnyPfannschmidt
Copy link
Member

completing this is surprisingly hard once more than pylib and pytest are involved,
as such i would like to see a better idea for this first before just implementing a dead end

we basically need a provisioning and a transfer layer as well as base libraries for this

@The-Compiler
Copy link
Member

this should probably go to the pytest-xdist issue tracker though.

@RonnyPfannschmidt
Copy link
Member

oh, right ^^

@GeorgeFischhof
Copy link
Author

Moved to pytest-xdist issue tracker, #134
pytest-dev/pytest-xdist#134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants