-
Notifications
You must be signed in to change notification settings - Fork 127
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
tremor test
: Run single tests without suite.
#1283
tremor test
: Run single tests without suite.
#1283
Conversation
tremor test
: Run single tests without suite.
755484c
to
f1ed1e4
Compare
Hi @MordecaiMalignatus awesome thanks! It looks good at a first glance :) but it'll need some clippy love, the |
Noted. What’s the DCO signoff for, precisely? Never seen having to sign off on my own commits before :D
A question while we’re at it: how much refactoring can I put into this patch? I sorta got carried away fixing stuff to get the line count of `run_cmd` down and making it more readable but I think I might be better off making that a separate, more deliberate patch. I think I might file some follow up patches giving some love to the rest subcommand.
… On 25. Oct 2021, at 11:54, Heinz N. Gies ***@***.***> wrote:
Hi @MordecaiMalignatus awesome thanks! It looks good at a first glance :) but it'll need some clippy love, the expects should become Result's and a DCO signoff is needed :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Pull Request Test Coverage Report for Build 1384490644
💛 - Coveralls |
DCO signoff is basically a way for a contributor to say "Yes I made this contribution and was allowed to do so" it has to do with a bunch of very boring very legal stuff and lighter weight then a CLA (Contributor Agreement) that people would have to sign (yuck) https://opensource.com/article/18/3/cla-vs-dco-whats-difference and https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin have some resources for details :) the dco bot explains how to do it after the fact: https://github.com/tremor-rs/tremor-runtime/pull/1283/checks?check_run_id=3987618586 doing it when committing is basically adding On the freedom - go nuts as long as it comes out better then it went in we're happy :). This is not on the critical path (read: it doesn't block any other work) so there is no reason to keep a PR small ( aside of personal preference ;) ) |
Signed-off-by: Mordecai Malignatus <mordecai@malignat.us>
00ac47d
to
2b56ee7
Compare
Things done:
This is done so far from my side. I'd like to give the testing subcommand/subsystem a bit of love after I've gotten a bit more familiar with it, I think I could make some improvement here :) |
2c0377b
to
d674ca1
Compare
Nobody saw the faulty rebase. Signed-off-by: Mordecai Malignatus <mordecai@malignat.us>
d674ca1
to
d0d8f17
Compare
Concerning the change at tremor-rs/tremor-runtime#1283
I'm not sure how to add automated tests for this patch, it seems rather hard to test. :( |
Concerning the change at tremor-rs/tremor-runtime#1283 Signed-off-by: Mordecai Malignatus <mordecai@malignat.us>
We don't have tests yet for stuff like this, so i think it is fine to not add one for this PR. |
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.
LGTM. Great work! Thank you for your contribution!
Concerning the change at tremor-rs/tremor-runtime#1283 Signed-off-by: Mordecai Malignatus <mordecai@malignat.us>
Concerning the change at tremor-rs/tremor-runtime#1283 Signed-off-by: Mordecai Malignatus <mordecai@malignat.us>
Pull request
Description
Implement the
cargo test $PATH_TO_SPECIFIC_TEST
functionality fortremor test
. That meaning, that a single test can be run, rather than either having to narrow to a single test by tags, or having to run a whole suite when only one result is desired.tremor test bench ./tests/bench/bench_pipe_passthrough
only runs that benchmark.This is currently functional (it runs single tests when specified), but very ugly code that I still need to refactor, and a bunch of the meta work (docs, changelog etc) is not done yet.
Related
Closes #1139.
Docs: tremor-rs/tremor-www#129
Checklist
CHANGELOG.md
appropriately, recording any changes, bug fixes, or other observable changes in behaviorPerformance
Not applicable, except to speed up single-test runs. No other behaviour is impacted.