-
Notifications
You must be signed in to change notification settings - Fork 1.4k
📖 developing e2e tests #2839
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
📖 developing e2e tests #2839
Conversation
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.
Some nits.
@sedefsavas thanks for the early feedback! |
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.
Just some minor things I noticed.
73176c4
to
0e46acc
Compare
This one is ready for review now |
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.
Thanks @fabriziopandini
Some minor comments.
As a follow-up PR, we may add a section to https://github.com/kubernetes-sigs/cluster-api/blob/0e46acc2515321ee225f5ad6904c674a8913b4c8/docs/book/src/developer/testing.md on how to run the new e2e tests.
|
||
<h1>Deprecated E2E config file format</h1> | ||
|
||
The [Cluster API test framework] includes also a [deprecated E2E config file] implementation, |
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.
We need to add // Deprecated
command for this struct?
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.
yes please, it seems I forgot to do this when doing the framework re-shuffle
|
||
<aside class="note"> | ||
|
||
<h1>Deprecated E2E config file format</h1> |
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.
h1
tag looks larger than ###
and I think we want to put this deprecated config under ### Defining an E2E config file
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 is an h1
into an aside
tag, not a top level h1
(the preview looks as you are expecting)
|
||
<aside class="note"> | ||
|
||
<h1>Deprecated InitManagementCluster method</h1> |
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.
Same comment as above. Instead of <h1>
, ####
may be more suitable here.
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.
same
0e46acc
to
8476213
Compare
@sedefsavas thanks for the feedback! |
/lgtm |
@vincepri PTAL |
/milestone v0.3.6 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
this PR documents how to write E2E tests that
The PR is WIP because some of the described steps is still beinf developed
Which issue(s) this PR fixes:
xref #2753
xref #2637
xref #2636
/assign @vincepri
/assign @sedefsavas
/cc @wfernandes
/cc @gab-satchi