Skip to content

Ability to only run one test section in file in yaml test runner #4404

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

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

Mpdreamz
Copy link
Member

You can now pass -s "Test section name" to the rest-api-spec test runner
to only run a single test inside a file. Before you could only filter to
a file as whole.

This also makes sure args with spaces are quoted when passing down from
our build tooling (super rudimentary)

We now emit Skip messages during the run so we can see the test itself
skipped. Because in our current flow we run the test setup before
evaluating the skip block its hard to see nothing happened because
things are happening (setup requests)

Lastly the proxy detection now includes xpack test suite.

mitmproxy -k will work if we reroute https traffic to it.

You can now pass -s "Test section name" to the rest-api-spec test runner
to only run a single test inside a file. Before you could only filter to
a file as whole.

This also makes sure args with spaces are quoted when passing down from
our build tooling (super rudimentary)

We now emit Skip messages during the run so we can see the test itself
skipped. Because in our current flow we run the test setup before
evaluating the `skip` block its hard to see nothing happened because
things are happening (setup requests)

Lastly the proxy detection now includes `xpack` test suite.

`mitmproxy -k` will work if we reroute https traffic to it.
@Mpdreamz Mpdreamz merged commit a8ac347 into 7.x Feb 21, 2020
@Mpdreamz Mpdreamz deleted the feature/7.x/run-test-section branch February 21, 2020 09:23
github-actions bot pushed a commit that referenced this pull request Feb 21, 2020
You can now pass -s "Test section name" to the rest-api-spec test runner
to only run a single test inside a file. Before you could only filter to
a file as whole.

This also makes sure args with spaces are quoted when passing down from
our build tooling (super rudimentary)

We now emit Skip messages during the run so we can see the test itself
skipped. Because in our current flow we run the test setup before
evaluating the `skip` block its hard to see nothing happened because
things are happening (setup requests)

Lastly the proxy detection now includes `xpack` test suite.

`mitmproxy -k` will work if we reroute https traffic to it.
github-actions bot pushed a commit that referenced this pull request Feb 21, 2020
You can now pass -s "Test section name" to the rest-api-spec test runner
to only run a single test inside a file. Before you could only filter to
a file as whole.

This also makes sure args with spaces are quoted when passing down from
our build tooling (super rudimentary)

We now emit Skip messages during the run so we can see the test itself
skipped. Because in our current flow we run the test setup before
evaluating the `skip` block its hard to see nothing happened because
things are happening (setup requests)

Lastly the proxy detection now includes `xpack` test suite.

`mitmproxy -k` will work if we reroute https traffic to it.
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