ember-cli / ember-cli/ember-cli-test-info

Model tests aren't very grep-able

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey there, I opened up a [pr on ember-data](https://github.com/emberjs/data/issues/4555) because I noticed that when selecting a single test in the browser all the issues that start with `Unit` show together, rather than showing only `Unit | Model | ModelName`.

I think it has issue with the spaces. Was just taking a look through the code here, and was trying to think of a way to make the [separator](https://github.com/ember-cli/ember-cli-test-info/blob/master/index.js#L13) configurable by consuming addons.

Or maybe just change it to something that is still grep-able? Not sure what the best way to go about that would be.

@stefanpenner any thoughts?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia leggendo la logica dei separatori in index.js alla riga collegata e verifica il comportamento segnalato nella selezione dei test di ember-data. Determina se sono appropriati separatori configurabili o un formato di denominazione diverso; il lavoro è completato quando i test dei modelli previsti possono essere selezionati singolarmente senza raggruppare test Unit non correlati.

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

Valutazione

Stack tecnologico
javascript
Ambito
testing, tooling
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.