Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Closed Feature request MAR-110 Automation script for running tests for all roles and producing report
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Feature request
  • Category
    Tests
  • Targetted for
    1.6.0
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    4 hours
  • Time spent
    6 hours
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

In order to make it easier to run complete set of tests for all roles, it would be beneficial to implement a script that will make this task easier, and also provide a way to produce reports of a run.

The following should be implemented:

  • Bash script for running test for all Majic Ansible Roles.
  • The script should be implemented as follows:
    • Accepts a list of roles to test as input argument. Special argument should be "all" that will run tests across all roles.
    • Roles are tested one at a time.
    • At the end of the run, script should output information about passed and failed roles.
    • An additional option --report should be introduced for enabling reports.
  • Reports should be generated as follows:
    • In current working directory create sub-directory called test_report-YYYY_MM_DD-hh_mm_ss (YYYY_MM_DD being date, and hh_mm_ss being time).
    • Within the sub-directory output files in format role-ROLENAME-PLATFORMNAME.txt, with each file containing full output from the test run.
    • Within the sub-directory output a single file called "summary.txt" that contains summary on which roles have passed, and which roles have failed.
  • Documentation should be updated to describe how to run tests.
Todos (0 / 0)
There are no comments