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

seed not printed when using --sequence.shuffle #2876

Closed
6 tasks done
spg opened this issue Feb 15, 2023 · 1 comment · Fixed by #2877
Closed
6 tasks done

seed not printed when using --sequence.shuffle #2876

spg opened this issue Feb 15, 2023 · 1 comment · Fixed by #2877

Comments

@spg
Copy link

spg commented Feb 15, 2023

Describe the bug

When using --sequence.shuffle, the default seed's value is not printed to stdout, making it impossible to reproduce a failing run by supplying a value to --sequence.seed

Reproduction

Run vitest with --sequence.shuffle

System Info

System:
    OS: macOS 13.2
    CPU: (10) arm64 Apple M1 Pro
    Memory: 103.78 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.13.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
  Browsers:
    Chrome: 110.0.5481.100
    Firefox: 110.0
    Safari: 16.3
  npmPackages:
    vitest: ^0.28.3 => 0.28.3

Used Package Manager

pnpm

Validations

@sheremet-va
Copy link
Member

Yes, I do think it's a bug. We should print it under the test name pattern, I think.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants