Epic: Faster Behat test runs

Aberta
#394 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Refatoração
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
php
Domínio
ci-cd, testing

Direção de pesquisa

Start by reading issue #384 to get the CI baseline numbers for Behat jobs. The epic expects each speed-up change to be a draft PR that re-runs the same CI jobs and records before/after measurements on this issue. No specific file or test is named yet; the concrete work is to be broken out from this epic.

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

Descrição

scope:testing

The Behat suites are the bulk of the CI time for the WP-CLI packages. A pull request against entity-command runs 51 Behat jobs that add up to about 15 hours of runner time, and individual jobs take between 7 and 45 minutes. Locally, a full run of a single package can take tens of minutes.

This epic collects the changes that should make these runs faster without weakening what the tests verify.

Every change follows the same approach:

  1. Use the CI baseline recorded in #384.
  2. Open a draft PR with the change.
  3. Run the same CI jobs against it.
  4. Record both measurements on the issue, so each change is decided on actual numbers.
Linguagem predominante
PHP
Estrelas
42
Forks
29
Merge médio
18h 52min
PRs com merge (30d)
27

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de wp-cli/wp-cli-tests

Todas as issues de wp-cli/wp-cli-tests

Issues semelhantes

Mais issues de PHP

Receba novas issues na sua caixa de entrada

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