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

feat: support to output the HTML report #88

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

LinuxSuRen
Copy link
Owner

@LinuxSuRen LinuxSuRen commented Jun 11, 2023

Usage:

atest run -p sample/testsuite-gitee.yaml --report-file output.html --report html

See also:

Run the test suite

Usage:
  atest run [flags]

Aliases:
  run, r

Examples:
atest run -p sample.yaml
See also https://github.com/LinuxSuRen/api-testing/tree/master/sample

Flags:
      --burst int32                burst (default 5)
      --duration duration          Running duration
  -h, --help                       help for run
  -l, --level string               Set the output log level (default "info")
  -p, --pattern string             The file pattern which try to execute the test cases (default "test-suite-*.yaml")
      --qps int32                  QPS (default 5)
      --report string              The type of target report. Supported: markdown, md, html, discard, std
      --report-file string         The file path of the report
      --report-ignore              Indicate if ignore the report output
      --request-ignore-error       Indicate if ignore the request error
      --request-timeout duration   Timeout for per request (default 1m0s)
      --thread int                 Threads of the execution (default 1)

@codacy-production
Copy link

codacy-production bot commented Jun 11, 2023

Coverage summary from Codacy

Merging #88 (59b1afe) into master (1fd4586) - See PR on Codacy

Coverage variation Diff coverage
-0.77% 96.08%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (1fd4586) 1356 1275 94.03%
Head commit (59b1afe) 1380 (+24) 1287 (+12) 93.26% (-0.77%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#88) 51 49 96.08%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@LinuxSuRen LinuxSuRen force-pushed the feat/test-report-html branch 3 times, most recently from 15622d8 to b4a854d Compare June 11, 2023 13:42
@LinuxSuRen LinuxSuRen force-pushed the feat/test-report-html branch from b4a854d to 59b1afe Compare June 11, 2023 13:59
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
14.3% 14.3% Duplication

@LinuxSuRen LinuxSuRen merged commit 909341b into master Jun 12, 2023
@LinuxSuRen LinuxSuRen deleted the feat/test-report-html branch June 12, 2023 00:37
LinuxSuRen pushed a commit that referenced this pull request Jun 17, 2024
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.

1 participant