tarpas / pytest-testmon

Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.
https://testmon.org
MIT License
823 stars 55 forks source link

should we commit .testmondata to version control? #152

Closed hatemhosny closed 4 years ago

hatemhosny commented 4 years ago

I am new to testmon. This is a question about best practice regarding commiting .testmondata to version control.

advantages I can think of include:

disadvantages:

do you have any guidance for that?

thank you

tarpas commented 4 years ago

Unfortunately that doesn't seem to the right strategy. .testmondata is a binary file which would cause 2 problems:

  1. conflicts on merges
  2. going against the delta storage compression (although I didn't test this)

I don't have a good solution for this at the moment, I'm afraid.

zevisert commented 1 week ago

Apologies for waking an issue that was closed 4 years ago, but it still seems like the correct place for this discussion.

What have people been doing? Would git LFS be a good solution for this file?

tarpas commented 1 week ago

I have worked on a client-server solution. I might make the server open-source/public in the coming months.