Skip to content
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

[FEATURE] Display the total number of stateful links in CLI output #1383

Closed
niya3 opened this issue Feb 9, 2022 · 0 comments · Fixed by #1905
Closed

[FEATURE] Display the total number of stateful links in CLI output #1383

niya3 opened this issue Feb 9, 2022 · 0 comments · Fixed by #1905
Assignees
Labels
Component: CLI Command line interface Core: Stateful testing Testing involving multiple API operations Priority: Medium Planned for regular releases Specification: OpenAPI Specific to OpenAPI Type: Feature New functionalities or enhancements UX: Reporting Output readability
Milestone

Comments

@niya3
Copy link

niya3 commented Feb 9, 2022

Is your feature request related to a problem? Please describe.

  1. Sometime it isn't easy to get, if schemathesis recognized all it's input args. E.g. adding --stateful=link to args doesn't change the header at all.
  2. It would also be very handy to print number of detected linked API operations in stateful mode (like, Collected **linked** API operations: $M) additional to current Collected API operations: $N. It would help get, if i have error with schema or some issue with schemathesis.

Describe the solution you'd like
I think it would be cool to add several lines in header printed at schemathesis run start.

Describe alternatives you've considered
Nope

Additional context
my current header:

platform Linux -- Python 3.10.1, schemathesis-3.12.3, hypothesis-6.32.1, hypothesis_jsonschema-0.22.0, jsonschema-4.3.2
rootdir: $MY_DIR
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/$MY_DIR/.hypothesis/examples')
Schema location: $MY_SCHEMA_FILE
Base URL: $MY_URL
Specification version: Open API 3.0.0
Workers: 1
Collected API operations: 1
@niya3 niya3 added Status: Needs Triage Requires initial assessment to categorize and prioritize Type: Feature New functionalities or enhancements labels Feb 9, 2022
@Stranger6667 Stranger6667 added UX: Reporting Output readability Priority: Medium Planned for regular releases Specification: OpenAPI Specific to OpenAPI Component: CLI Command line interface and removed Status: Needs Triage Requires initial assessment to categorize and prioritize labels Oct 11, 2023
@Stranger6667 Stranger6667 changed the title [FEATURE] additional info in header printed at schemathesis run [FEATURE] Display the total number of stateful links in CLI output Oct 12, 2023
@Stranger6667 Stranger6667 added the Core: Stateful testing Testing involving multiple API operations label Oct 12, 2023
@Stranger6667 Stranger6667 added this to the 3.22 milestone Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: CLI Command line interface Core: Stateful testing Testing involving multiple API operations Priority: Medium Planned for regular releases Specification: OpenAPI Specific to OpenAPI Type: Feature New functionalities or enhancements UX: Reporting Output readability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants