How andrerh09/proyecto2 works
Project type and purpose
• Hybrid tool combining a Java‐based PDF/Invoice testing automation suite (PAutoMat_Actions) and a Python desktop dashboard for software quality metrics (dashboard_calidad).
Main components
A. Java Automation (PAutoMat_Actions)
• Page Object Model: pages/, utils/
• Test suite: src/test/java (JUnit, Selenium + chromedriver)
• Resources: ImageTester JAR, test PDFs, properties
• Build: Maven (pom.xml), target jar, JaCoCo coverage
• CI: GitHub workflows (ci, nightly, release, security‐scan)
B. Python Dashboard (dashboard_calidad)
• Parsers: jacoco_parser.py, junit_parser.py
• Metrics: performance, reliability, maintainability, quality_rating
• UI: PyQt or Tk widgets (charts.py, main_window.py, widgets.py), CSS assets
• Packaging: build/dashboard_calidad.spec, requirements.txt
Interactions and data flow
1. Java tests run (locally or CI) → generate JUnit XML & JaCoCo coverage XML → output under target/ and surefire-reports
2. Python dashboard reads those XML files via parsers → computes metrics → renders interactive charts in UI
Architectural highlights
• Clear separation: Test executor vs. Metrics dashboard
• Reusable parsing → modular metrics calculation → pluggable UI
• CI automation validates tests, security, nightly builds