A
A
Alexander2020-12-22 12:57:09
Python
Alexander, 2020-12-22 12:57:09

How to set up a quick installation of a project with autotests in Python+Behave?

Hi all!

I have a Python + Selenium + Behave project in my team . We support it with 4 people, but new ones come in and if they have Windows, something always goes wrong. It usually starts in Gitlab CI, but of course we check everything locally and run it too.

There are a couple of questions for which I can not find the right solution:

  1. Installation. Now we just clone the repository, create a virtualenv and download the required chromedriver, install the dependencies. There were always problems, but small ones. How to automate this process so that everything would be ready for one script? setup.py seems to solve only a few problems, and I'm not sure if I can edit the project later, because I make it as a package.
  2. Setting up PyCharm. He's cool, but how do you share launch configurations between team members? What worries me most is that the working directory is not relative for some reason, and simply sharing runConfiguration.xml from .idea does not work (because my WD is /Users/me/project, and the other person has it C:\Users\me \Documents\project)


If it turned out to be chaotic, I'm very sorry. I will be glad to any answers and advice!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-12-22
@dmtrrr

1 Docker
2 https://editorconfig.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question