guidorice / mojo-pytest

Mojo🔥 language test runner plugin for pytest. (aka pytest-mojo)
MIT License
46 stars 1 forks source link

Added simple pytest plugin implementation #4

Closed lleites closed 10 months ago

lleites commented 10 months ago

This is a basic implementation of a pytest plugin pytest-mojo to build on top. Note that the pytest_mojo/plugin.py module is an exact copy of conftest.py in case you think it is a good idea to move forward, we should have only one. My view is to have only the plugin one and change the README.md to point at that one and ask for a rename locally if people would rather not use the plugin approach. The changes are as minimal as possible, and I am planning to do follow-up PRs with more improvements. Please don't hesitate to change or discard the README.md updates I did, they are just an initial idea too.

guidorice commented 10 months ago

@lleites thanks for this- it will make installation and updates much easier for users of this tool. 👍🏽

I am going to squash+merge and then will update the readme and environment.yml and delete the conftest.py from the project root dir.