@@ -51,7 +51,7 @@ Here are some other useful variations on the commands:
51
51
52
52
~~~~
53
53
cabal new-build Cabal # build library only
54
- cabal new-build Cabal:package -tests # build Cabal's package test suite
54
+ cabal new-build Cabal:unit -tests # build Cabal's unit test suite
55
55
cabal new-build cabal-install:integration-tests # etc...
56
56
~~~~
57
57
@@ -88,23 +88,13 @@ several. In general, the test executable for
88
88
89
89
To run a single test, use ` -p ` which applies a regex filter to the test names.
90
90
91
- * ` Cabal:package-tests ` are out-of-process integration tests on the top-level ` Setup `
92
- command line interface. If you are hacking on the Cabal library you
93
- want to run this test suite. It must be run from the ` Cabal ` subdirectory
94
- (ugh!) This test suite can be a bit touchy; see
95
- [ Cabal/tests/README.md] ( Cabal/tests/README.md ) for more information.
96
- Build products and test logs are generated and stored in
97
- ` Cabal/tests/PackageTests ` under folders named ` dist-test ` and
98
- ` dist-test.$subname ` .
99
-
100
- Handy command line spell to find test logs is:
101
- ``` sh
102
- find . -name test.log| grep test-name
103
- ```
104
-
105
- ` test.sh ` in the same directory as ` test.log ` is intended to let you rerun
106
- the test without running the actual test driver.
107
-
91
+ * ` cabal-testsuite:cabal-tests ` is an executable runner for out-of-process
92
+ integration tests for both the ` Setup ` interface, as well as
93
+ ` cabal-install ` (if you pass the path to the executable
94
+ to test via the ` --with-cabal ` flag). Most user-visible changes
95
+ to Cabal should come with a test in this framework. See
96
+ [ cabal-testsuite/README.md] ( cabal-testsuite/README.md ) for more
97
+ information about how to run tests and write new ones.
108
98
109
99
* ` Cabal:unit-tests ` are small, quick-running unit tests
110
100
on small pieces of functionality in Cabal. If you are working
0 commit comments