nestor-qa / nestor

Nestor
http://nestor-qa.github.io
MIT License
3 stars 0 forks source link

Mini-reporting system #41

Closed kinow closed 8 years ago

kinow commented 10 years ago

At least a few basic reports. Two or three would be enough. Something that could be used with dashboards too would be useful and convenient.

kinow commented 8 years ago
kinow commented 8 years ago

Project simple report: list number of test plans, number of test suites, number of test cases, number of test runs, number of test cases executed, % of each execution statuses.

Test Plan testing report: first user selects a test plan, then he gets the latest execution status for each test case in the test plan.

kinow commented 8 years ago

Sample response for the projects report:

{

    "test_plans_count": 1,
    "test_suites_count": 4,
    "test_cases_count": 3,
    "test_runs_count": 2,
    "executions_count": 5,
    "executions_summary": {
        "1": 1,
        "2": 2,
        "3": 2,
        "4": 1
    }

}
kinow commented 8 years ago

Sample response for the test plans report:

{

    "test_cases": [
        {
            "id": 1,
            "version": null,
            "test_cases_id": "1",
            "execution_type_id": "1",
            "name": "Test Case A - 1",
            "prerequisite": "None",
            "description": "Example test case",
            "created_at": "2016-09-18 09:06:43",
            "updated_at": "2016-09-18 09:06:43",
            "latest_execution": {
                "id": 1,
                "test_run_id": "1",
                "test_cases_versions_id": "1",
                "execution_status_id": "2",
                "notes": "",
                "created_at": "2016-09-20 00:58:38",
                "updated_at": "2016-09-20 00:58:38",
                "test_cases_id": "1"
            }
        },
        {
            "id": 2,
            "version": null,
            "test_cases_id": "2",
            "execution_type_id": "2",
            "name": "Test Case A - 2",
            "prerequisite": "Everything must be working!",
            "description": "Example test case",
            "created_at": "2016-09-18 09:06:43",
            "updated_at": "2016-09-18 09:06:43",
            "latest_execution": {
                "id": 5,
                "test_run_id": "2",
                "test_cases_versions_id": "2",
                "execution_status_id": "3",
                "notes": "",
                "created_at": "2016-09-20 01:22:55",
                "updated_at": "2016-09-20 01:22:55",
                "test_cases_id": "2"
            }
        },
        {
            "id": 3,
            "version": null,
            "test_cases_id": "3",
            "execution_type_id": "1",
            "name": "Test Case A - 3",
            "prerequisite": "None",
            "description": "Example test case",
            "created_at": "2016-09-18 09:06:43",
            "updated_at": "2016-09-18 09:06:43",
            "latest_execution": {
                "id": 4,
                "test_run_id": "2",
                "test_cases_versions_id": "3",
                "execution_status_id": "4",
                "notes": "",
                "created_at": "2016-09-20 00:59:31",
                "updated_at": "2016-09-20 00:59:31",
                "test_cases_id": "3"
            }
        }
    ]

}
kinow commented 8 years ago

Backend implemented, just need to complete the views now.

kinow commented 8 years ago

Simple Project Report implemented!

screenshot from 2016-09-21 11-21-01

kinow commented 8 years ago

Simple Test Plan Report implemented!

screenshot from 2016-09-21 13-23-17

kinow commented 8 years ago

Done!