Skip to content

Improve readme and usability#154

Merged
kaklakariada merged 6 commits into
developfrom
improve-usability
Jul 1, 2018
Merged

Improve readme and usability#154
kaklakariada merged 6 commits into
developfrom
improve-usability

Conversation

@kaklakariada

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Jul 1, 2018

Copy link
Copy Markdown

Codecov Report

Merging #154 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #154      +/-   ##
=============================================
+ Coverage      93.71%   93.72%   +<.01%     
- Complexity       957      958       +1     
=============================================
  Files            105      105              
  Lines           2691     2695       +4     
  Branches         225      225              
=============================================
+ Hits            2522     2526       +4     
  Misses           113      113              
  Partials          56       56
Impacted Files Coverage Δ Complexity Δ
.../itsallcode/openfasttrace/report/ReportFormat.java 100% <100%> (ø) 7 <1> (+1) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0f6f97...3b447bb. Read the comment docs.

@kaklakariada kaklakariada changed the title Add available report formats to error message Improve readme and usability Jul 1, 2018

@redcatbear redcatbear left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One improvement requested.

}
}
throw new IllegalArgumentException("Unknown report format \"" + format + "\"");
final String availableValues = Arrays.stream(values()) //

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a stream here is a bit much. Please use Java 8 String.join() instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works for strings, not for enums. We need to keep this unless you want to change the input parameter from the short format (plain) to the enum value (PLAIN_TEXT)

@kaklakariada
kaklakariada merged commit 1e61f24 into develop Jul 1, 2018
@kaklakariada
kaklakariada deleted the improve-usability branch July 1, 2018 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants