Skip to content
Snippets Groups Projects
Unverified Commit 70795f98 authored by Brandon Chinn's avatar Brandon Chinn Committed by GitHub
Browse files

Fix docs for running tests (#8588)


* Update docs + comments

* Improve instructions for cabal-tests

Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 399cf643
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,12 @@ frameworks.
How to run
----------
1. Build `cabal-tests` (`cabal build cabal-tests`)
1. Build `cabal-testsuite` (`cabal build cabal-testsuite:cabal-tests`)
2. Run the `cabal-tests` executable. It will scan for all tests
in your current directory and subdirectories and run them.
To run a specific set of tests, use `cabal-tests PATH ...`. You can
control parallelism using the `-j` flag.
To run a specific set of tests, use `cabal-tests PATH ...`.
(e.g. `cabal run cabal-testsuite:cabal-tests -- cabal-testsuite/PackageTests/TestOptions/setup.test.hs`)
You can control parallelism using the `-j` flag.
There are a few useful flags:
......
......@@ -170,7 +170,7 @@ setup'' prefix cmd args = do
defaultRecordMode RecordMarked $ do
recordHeader ["Setup", cmd]
-- We test `cabal act-act-setup` when running cabal-tests.
-- We test `cabal act-as-setup` when running cabal-tests.
--
-- `cabal` and `Setup.hs` do have different interface.
--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment