narrowizard opened a new issue, #797:
URL: https://github.com/apache/incubator-devlake-website/issues/797

   ## 📚 Documentation Scope
   This documentation update covers:
   - The addition of the `QA` domain in DevLake's domain layer, including new 
entities such as `QaProject`, `QaTestCase`, `QaApi`, and `QaTestCaseExecution`.
   - The new CSV import functionality for the `QA` domain via the `Customize` 
plugin, with endpoints under `/plugins/customize/csvfiles/{csvfilename}.csv`.
   
   Relevant sections: Domain Layer documentation, Customize Plugin 
documentation, CSV Import Examples.
   
   ## ✏️ Describe the Change
   We need to add:
   1. **QA Domain Layer Documentation**  
      - Describe the purpose of the `QA` domain (test management and metrics).
      - Define the core entities (`QaProject`, `QaTestCase`, `QaApi`, 
`QaTestCaseExecution`) with field explanations.
      - Explain the relationships between entities (e.g., a test case belongs 
to a project, may link to an API).
   
   2. **Customize Plugin CSV Import Documentation**  
      - Introduce new CSV endpoints:
        - `POST /plugins/customize/csvfiles/qa_test_cases.csv`
        - `POST /plugins/customize/csvfiles/qa_test_case_executions.csv`
        - `POST /plugins/customize/csvfiles/qa_apis.csv`
      - Provide example CSV file formats and sample data.
      - Explain how projects (`QaProject`) are created automatically during 
`qa_test_cases` import based on `qa_project_id` and `qa_project_name`.
   
   3. **Examples Section**  
      - Show examples of uploading CSV files to the Customize plugin.
      - Show an example mapping between MeterSphere raw data and the domain 
layer after import.
   
   ## 🖼️ Screenshots
   N/A (new documentation pages and example CSV files will be added).
   
   ## ➕ Additional context
   This update supports the new feature request to extend DevLake's 
capabilities for QA/test management data analysis by ingesting external CSV 
data. It follows the standard for domain design abstraction and CSV ingestion 
already used by existing domain layers like issues and CICD.
   
   https://github.com/apache/incubator-devlake/issues/8393
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to