-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: New cmd for docs auto generation #2096
Conversation
9c05060
to
ce14a55
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2096 +/- ##
===========================================
+ Coverage 73.93% 74.14% +0.21%
===========================================
Files 248 248
Lines 24710 24710
===========================================
+ Hits 18267 18320 +53
+ Misses 5192 5133 -59
- Partials 1251 1257 +6
Flags with carried forward coverage won't be shown. Click here to find out more. see 9 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes super quick before continuing the review as the todo is a major red flag for me and I don't want this merged if approved by someone else whilst I'm still going through it. Will continue the rest of the review now, as the todo doesn't really change anything else already in the review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few more comments as I have to context switch, will resume in a little bit.
I don't think we should have this as part of the main Defra CLI but lets discuss it during standup. |
bf68130
to
20812dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good Islam - thanks for this :)
require.NoError(t, err) | ||
} | ||
|
||
func TestGendocsCmd_IfNoErrors_ReturnGenerationOutput(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: These read really nicely, thanks Islam :)
20812dc
to
fd98484
Compare
## Relevant issue(s) Resolves sourcenetwork#2095 ## Description This change adds a new command for generating documents automatically. It also includes fixes for some overlooked edge cases.
## Relevant issue(s) Resolves sourcenetwork#2095 ## Description This change adds a new command for generating documents automatically. It also includes fixes for some overlooked edge cases.
Relevant issue(s)
Resolves #2095
Description
This change adds a new command for generating documents automatically.
It also includes fixes for some overlooked edge cases.
Tasks
How has this been tested?
Unit tests and manual command execution with a running defradb node.
Specify the platform(s) on which this was tested: