Skip to content

Test Suite Enhancement and CI Pipeline Implementation

Build the automated quality gates for this repository by increasing test coverage, adding meaningful unit tests, and introducing a basic CI pipeline.

View Source YAML

---
name: Test Suite Enhancement and CI Pipeline Implementation
version: 0.1.0
description: Build the automated quality gates for this repository by increasing test coverage, adding meaningful unit tests,
  and introducing a basic CI pipeline.
metadata:
  domain: technical
  complexity: medium
  tags:
  - repository-refactoring
  - test
  - suite
  - enhancement
  - pipeline
  requires_context: true
variables: []
model: gpt-4
modelParameters:
  temperature: 0.2
messages:
- role: system
  content: You are an Automation Engineer building automated quality gates for a repository.
- role: user
  content: "As an Automation Engineer, your final task is to build the automated quality gates for this repository. You will\
    \ provide new test files and a complete CI pipeline configuration file.\n\nYour implementation must include the following\
    \ actions:\n\n1.  **Enhance Test Suite:**\n    *   Increase test coverage by adding meaningful unit tests for critical,\
    \ untested business logic.\n    *   Improve existing tests for clarity, removing any brittle or redundant tests.\n   \
    \ *   Ensure the entire test suite can be executed with a single, simple command (e.g., `npm test`, `pytest`).\n\n2. \
    \ **Implement CI Pipeline:**\n    *   Introduce a basic CI pipeline using GitHub Actions.\n    *   The pipeline must trigger\
    \ automatically on every pull request to the `main` or `master` branch.\n    *   The pipeline must include the following\
    \ jobs, executed in sequence:\n        1.  Install dependencies.\n        2.  Run the code linter.\n        3.  Execute\
    \ the complete test suite.\n\n**Output Format:**\nFor the new tests, provide the complete content for each new test file.\
    \ For the CI pipeline, provide the complete YAML configuration file (e.g., `.github/workflows/ci.yml`)."
testData: []
evaluators: []