apache / apache/libcloud

feature request, improving tests with pytest and pytest-vcr

Offen
#1,518 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
stale
Vorherrschende Sprache
Python
Sterne
2.1k
Forks
931
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
4

Beschreibung

## 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:

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die vorhandenen Tests für den Vultr-Provider zu prüfen, und lies anschließend die verlinkte Dokumentation zu pytest und pytest-vcr. Das Issue nennt keine Testdateien und keinen definierten Umfang; kläre daher zunächst, ob die Vultr-Tests umgeschrieben oder ergänzt werden sollten. Als abgeschlossen gilt die Arbeit, wenn ein vereinbarter Ansatz und eine erfolgreiche Testsuite für die ausgewählte Abdeckung vorliegen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
cloud, testing
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.