Skip to content

Commit

Permalink
Invoke prysk with the directory name to ensure all tests run (#4715)
Browse files Browse the repository at this point in the history
Running `.cram_env/bin/prysk tests/**/*.t` runs 98 tests.

But the same thing through a package.json script `pnpm test` runs 74
tests. I'm not sure why and which ones are being excluded. But for an
immediate fix, this PR removes the globbing so we run all tests.
  • Loading branch information
mehulkar committed Apr 26, 2023
1 parent 1c8d3aa commit a83c911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions turborepo-tests/integration/package.json
Expand Up @@ -4,9 +4,9 @@
"test:setup_python": "python3 -m venv .cram_env",
"test:setup_pip": "pnpm test:setup_python && .cram_env/bin/python3 -m pip install --quiet --upgrade pip",
"test:setup_prysk": "pnpm test:setup_pip && .cram_env/bin/pip install prysk",
"test": "pnpm test:setup_prysk && .cram_env/bin/prysk --shell=`which bash` tests/**/*.t",
"test:interactive": ".cram_env/bin/prysk -i --shell=`which bash` tests/**/*.t",
"test:parallel": ".cram_env/bin/pytest -n auto tests/**/*.t --prysk-shell=`which bash`",
"test": "pnpm test:setup_prysk && .cram_env/bin/prysk --shell=`which bash` tests",
"test:interactive": ".cram_env/bin/prysk -i --shell=`which bash` tests",
"test:parallel": ".cram_env/bin/pytest -n auto tests --prysk-shell=`which bash`",
"pretest:parallel": ".cram_env/bin/pip3 install --quiet pytest \"prysk[pytest-plugin]\" pytest-xdist"
},
"dependencies": {
Expand Down

0 comments on commit a83c911

Please sign in to comment.