plotly / plotly/react-plotly.js
How to test React components developed using React-Plotly
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.1k
- Fork
- 138
- Merge medio
- 3g 2h
- PR unite (30g)
- 4
Descrizione
Hello,
My team is developing an analytics app using React. We're using react-plotly to generate charts in our app. My question is what is the recommended way to test these components?
In our old App, we were downloading the image of the plot using plotly. Save that to our Repo. The test used to generate the image of the plot. Compare the saved image with image generated by the chart.
What is the recommended way of testing? Can anyone point to the tests they're writing?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Direzione di ricerca
La issue non indica alcun file, test o punto di ingresso. Inizia esaminando la configurazione dei test esistente del progetto e i test dei componenti React, quindi documenta un approccio ai test consigliato con un esempio chiaro e criteri di verifica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, plotly, react
- Ambito
- data-visualization, frontend, testing
- Tipo di issue
- Documentazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100