Consider adding a very small working example to the repo and readme
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation, testing
Direzione di ricerca
Inizia esaminando il README e la struttura dell'esempio proposta: book.py, book.feature e test_book.py. Aggiungi un piccolo esempio eseguibile che copra un background, diversi scenari, parser degli step e il caricamento delle feature; il lavoro è completo quando gli utenti possono copiare i file ed eseguirli correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi there,
(again a repeated thanks for this killer project. It has been fun to work with and really adds a lot to my project.)
When I was getting started out I would have appreciated a running example. I had to sort out some issues with file placement and naming, and just simple organization. The readme and various blogs show how to use it, but having something running to hack at is so much nicer.
My idea is that users could just copy a working set of files into their project or an empty dir, run it, and start from there. Something as simple as:
/ example
book.py -- a very simple class
book.feature
test_book.py
The feature would contain the basics: a background, a few scenarios (possibly with one failing so that users could tweak it), some steps with a parser, some without, and the test_book.py would just pull in all of the features.
If you'd like I can kick off an initial draft and PR a draft back to this repo. Cheers, jz
- Lingua principale
- Python
- Stelle
- 1.5k
- Fork
- 251
- Merge medio
- 43m
- PR unite (30g)
- 2
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pytest-dev/pytest-bdd
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
pytest-dev/pytest-bdd#805 ·
-
YAML support removed in v8Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
pytest-dev/pytest-bdd#785 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
pytest-dev/pytest-bdd#784 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
pytest-dev/pytest-bdd#782 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
pytest-dev/pytest-bdd#780 · 3 reazioni ·
Tutte le issue di pytest-dev/pytest-bdd
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-2 giorni Idoneità per principianti 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
lmstudio-ai/mlx-engine#376 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pyiron/bagofholding#166 ·