-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Group related command line options together #1311
Conversation
…m argparse. Remove deprecated --no-reset-stats options.
Codecov Report
@@ Coverage Diff @@
## master #1311 +/- ##
==========================================
+ Coverage 80.36% 80.49% +0.12%
==========================================
Files 23 23
Lines 2139 2148 +9
Branches 322 323 +1
==========================================
+ Hits 1719 1729 +10
+ Misses 342 340 -2
- Partials 78 79 +1
Continue to review full report at Codecov.
|
Awesome! Dump the descriptions that just repeat the headers though (e.g "Logging options: Options related to logging") |
Done! I've also renamed |
"Enable Step Load mode to monitor how performance metrics varies when user load increases. Requires --step-clients and --step-time to be specified." This description is weird, sounds like it has something to do with monitoring... |
What is |
Oh, and we might want to change LocustClass to UserClass. |
We should probably add the output of |
I agree. TBH, the "step load" implementation feels a bit half-baked to me, and I'm not very fond of it, but I think that should be a separate issue.
It's the port that the master node listen to for incoming worker connections. It's used in main.py.
Yeah, I figured we could do that in the Locust -> User change.
Great idea! I'll look into if we can get it into the documentation build flow. |
Ah, I tried searching for it in the project and was unable to find anyone reading the value, but I was accidentally searching for But it made me think: Perhaps splitting master settings and slave settings into their own groups would make it more clear? |
Since we've added the abstract attribute to Locust, locust.main.is_locust no longer need the name of the item it's checking
I tried it out and I think it's an improvement! |
Fixed in 51547a0. Here's how it looks in the docs: https://docs.locust.io/en/latest/quickstart.html#locust-command-line-interface |
This PR (for #1282) does the following
--help
message--no-reset-stats
options.This PR is work in progress. Here's the current help output: