code-corps / code-corps/code-corps-ember

The default "yarn test" command runs ALL tests 3 times

Aberta
#1,369 5 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
JavaScript
Estrelas
120
Forks
75
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

# Problem

On my machine, when I run `yarn test`, or `yarn test --silent`, all tests execute 3 times. The desired behavior, since this actually executes `ember exam --split=3 --weighted --parallel` would be that 3 partitions would run, each running a fraction of the tests. In addition to that, the 3 partitions run consecutively, not in parallel.

This seems to be related to https://github.com/trentmwillis/ember-exam/issues/108 and, following the conversations there and adding `parallel: -1` to testem.js seems to cause the partitions to execute in paralel, but each partition still runs all of the tests in the suite.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece com o comando `yarn test` e a invocação `ember exam --split=3 --weighted --parallel` descritos na issue e, em seguida, inspecione `testem.js`, incluindo sua configuração `parallel`. Compare o comportamento com a issue relacionada do ember-exam vinculada no relatório. Considera-se concluído quando as três partições executarem, cada uma, uma fração da suíte e forem executadas em paralelo, em vez de repetir todos os testes sequencialmente.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
testing
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.