Skip to content

Reporter option : html, json, text, text-summary, badge (pick as many as you want) #116

Open
@1000i100

Description

@1000i100

Today, codehack-cli produce a cli output and badges. Badges can be disabled by cli option.
Like nyc does, it could produce output depending on selected reporters :

  • html (like html-coverage report)
  • json (all the results content dump in a json file)
  • badges
  • text (like the actual one in stdout, perhaps with an option like codehawk-cli already have to display all files or only the x worst)
  • text-summary (results.summary as text-output)

Today, it's hard for me to add a reporter matching my need without producing a bad smell code. Example in #115.
Reporters architecture could help me working/contributing on UI without understanding or breaking the complexity/maintainability code.

What do you think about it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions