-
Notifications
You must be signed in to change notification settings - Fork 79
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
test: add ISO e2e tests #953
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #953 +/- ##
==========================================
+ Coverage 69.76% 69.83% +0.06%
==========================================
Files 245 245
Lines 10711 10711
==========================================
+ Hits 7473 7480 +7
+ Misses 2562 2555 -7
Partials 676 676
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
t.Run("json", func(t *testing.T) { | ||
out, err := runCommand(t, "iso", "list", "-o=json") | ||
require.NoError(t, err) | ||
assert.True(t, json.Valid([]byte(out)), "is valid JSON") |
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.
This isn't testing much, should we try to check the data inside?
}) | ||
}) | ||
|
||
t.Run("describe", func(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.
There is no json output for describe?
No description provided.