libcloud icon indicating copy to clipboard operation
libcloud copied to clipboard

feature request, improving tests with pytest and pytest-vcr

Open sergerdn opened this issue 5 years ago • 1 comments

Feature Permission Request

Hi, there. Please keep in mind:

  • my English is very poor
  • I have a very limited experience with any open source projects, especially this one

Recently I'v made a small changes to some cloud providers:

  • https://github.com/apache/libcloud/pull/1508 (Digitalocean)
  • https://github.com/apache/libcloud/pull/1506 (Vultr)

I am asking for permission for completely rewrite some tests with:

  • https://docs.pytest.org/en/stable/
  • https://pytest-vcr.readthedocs.io/en/latest/

I chose Vultr for a start point for me. I believe that pytest is a very nice and easiest way to write any tests for any project. Many people do not like write tests, but with pytest and pytest-vcr their work will be more funny and much better. I can not promise that my work will be done completely, but I will try to make a start point for that.

Please suggest me the write way. E.g.:

  • I should not make any changes to current tests
  • I should make new tests from the scratch

P.S. I hope Google translate is working as expected :smiley:

sergerdn avatar Nov 05 '20 22:11 sergerdn

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.

stale[bot] avatar Jun 26 '21 03:06 stale[bot]