Skip to content

Feature/pipeline - #13

Merged
QAkarotto merged 3 commits into
masterfrom
feature/pipeline
Jul 25, 2026
Merged

Feature/pipeline#13
QAkarotto merged 3 commits into
masterfrom
feature/pipeline

Conversation

@QAkarotto

@QAkarotto QAkarotto commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Resumo

  • Reorganiza as pastas e comandos de execução dos testes
  • Adiciona pipeline para execução dos testes unitários

Issue

Resolves #10

Checklist

  • Usei uma branch propria
  • Fiz commits claros
  • Rodei os testes
  • O Pull Request está pronto para revisão

Copilot AI review requested due to automatic review settings July 25, 2026 15:05
@QAkarotto
QAkarotto merged commit aaec990 into master Jul 25, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Este PR reorganiza a estrutura/comandos de testes e adiciona um workflow do GitHub Actions para executar testes unitários, atendendo à Issue #10 (pipeline para testes automatizados).

Changes:

  • Ajusta o caminho de import no teste unitário para refletir a nova organização de pastas.
  • Adiciona testes e2e com Playwright para a calculadora.
  • Cria workflow de CI para instalar dependências e rodar testes unitários.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/unit/calculator.test.js Atualiza o require para apontar corretamente para src/calculator.
tests/e2e/calculator.e2e.test.js Adiciona testes e2e via Playwright para validação pela UI.
package.json Ajusta scripts de teste para focar em unit e altera execução de e2e.
.gitignore Ajusta regra de ignore do relatório do Playwright.
.github/workflows/pipeline.yml Adiciona workflow para rodar testes unitários via GitHub Actions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment on lines +11 to +13
"test": "jest tests/unit",
"test:coverage": "jest --coverage",
"test:e2e": "playwright test"
"test:e2e": "playwright test --headed"
Comment on lines +7 to +9
on:
workflow_dispatch:

Comment on lines +29 to +30
- name: Instalação das dependências do projeto
run: npm install
Comment on lines +25 to +27
- uses: actions/setup-node@v4
with:
node-version: 22
@QAkarotto
QAkarotto deleted the feature/pipeline branch July 28, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configurar pipeline para executar os testes automatizados

2 participants