integration_tests icon indicating copy to clipboard operation
integration_tests copied to clipboard

[NOTEST][WIP] Adding ReportParser class and miq blame command

Open kedark3 opened this issue 6 years ago • 3 comments

Purpose or Intent

Adding miq blame command that will be able to take a Json file as input and return list of test cases per assignee and also provide failed tests report.

Usage: miq blame [OPTIONS] COMMAND [ARGS]...

  Functions for generating reports on Tests grouped by user

Options:
  --help  Show this message and exit.

Commands:
  test-report  Returns a Dictionary containing failed test cases per user

Usage: miq blame test-report [OPTIONS]

  Returns a Dictionary containing failed test cases per user

Options:
  --report-file TEXT              Path to the file with json data
  --email-config-yaml PATH        If you decide to use this option,copy yaml
                                  file similar to
                                  report_parser_email_conf.yaml.template with
                                  correct values and pass its path. No email
                                  would be sent if --user is not set.
  --user TEXT                     Set this if you want to filter the report
                                  for a specific user
  --filter-by [passed|failed|skipped]
                                  Defaults to 'failed'
  --help                          Show this message and exit.


kedark3 avatar Jul 24 '19 15:07 kedark3

If possible rename blame to codecov so I will use same command group for extension. I have one card which will provide codecov and cover commands like

  1. automate and manual % as per assignee
  2. automate and manual % as per FA etc...

Thanks for initialize this... I am facing problem with requirements but i will add basic implementation.

digitronik avatar Jul 24 '19 16:07 digitronik

@digitronik I have no issue renaming. @mshriver @jawatts what you guys think?

kedark3 avatar Jul 24 '19 17:07 kedark3

Would you mind rebasing this Pull Request against latest master, please? :trollface: CFME QE Bot

dajoRH avatar Sep 17 '19 02:09 dajoRH