apache / apache/libcloud

feature request, improving tests with pytest and pytest-vcr

Aperta
#1,518 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
stale
Lingua principale
Python
Stelle
2.1k
Fork
931
Merge medio
1g 2h
PR unite (30g)
4

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando i test esistenti del provider Vultr, quindi leggi la documentazione collegata di pytest e pytest-vcr. L’issue non identifica file di test né un ambito definito, quindi stabilisci innanzitutto se i test Vultr debbano essere riscritti o integrati. Il lavoro sarà considerato completato quando saranno stati concordati un approccio e una suite di test superata per la copertura selezionata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
cloud, testing
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.