gleb-sevruk / pycrunch-engine

NCrunch inspired tool for continuous testing Python
https://pycrunch.com
Other
57 stars 8 forks source link

Enhancement - IJ plugin to initialize on a predefined port #37

Closed valeedmalik closed 3 years ago

valeedmalik commented 3 years ago

I might be missing something however every time I trigger pycrunch-engine via IJ, it will start it on a random port. I am working with Django out of a container where I need to specify port to open on the container to connect to the engine. Currently I'm making an exec call into the container and starting pycrunch-engine on 5000 and have my container open at the same.

Would you know of a work around for this? Would like to utilize start/stop of engine from IJ.

gleb-britecore commented 3 years ago

2 possible workarounds to this:

  1. You can try to start the engine manually via command-line, and connect to a custom process: image

  2. Also the port is randomized at the first run will stay the same during the entire IntelliJ session, so you can re-setup container once per day 😄

valeedmalik commented 3 years ago

Yep have been operating via method 2. Was just hoping for a more direct approach!