zopefoundation / zodbpickle

Fork of Python's pickle module to work with ZODB
Other
17 stars 17 forks source link

RFE: please prepare test suite to be able use it with pytest as well #85

Open kloczek opened 4 months ago

kloczek commented 4 months ago

As we discussed in #70 I've pointed that currently test suite is not ready to be used with pytest. Part of the issue is that is pytest scans only test* files so to even asses how much of the test suite needs to be adapted to be able use it with pytest as well some files needs to be renamed.

At the end of our conversation you mention that it takes time to work. If you want I can try to prepare PR adding necessary adaptations.

icemac commented 4 months ago

Feel free to try it out to port this package to pytest. I think it is possible, but I see more pressing maintainance issues for me as maintainer.

kloczek commented 4 months ago

OK so you wanto me to prepare PR with seto of renames? 🤔

icemac commented 4 months ago

What do you mean by seto of renames?

kloczek commented 4 months ago

As I wrote pytest scans only test*.py files so to be a scannable test suite files should be wit hat kind of names.

icemac commented 4 months ago

This can be configured in pytest.ini using the python_files parameter, see https://docs.pytest.org/en/7.1.x/example/pythoncollection.html.