File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,35 @@ the `containers` package.
22
22
23
23
Minimum cabal version: 2.4
24
24
25
+ Build:
25
26
```
26
27
cabal build containers
27
- cabal test containers-test
28
- cabal bench containers-test
28
+ ```
29
+
30
+ Run all tests or benchmarks:
31
+ ```
32
+ cabal test containers-tests
33
+ cabal bench containers-tests
34
+ ```
35
+
36
+ To run a particular test or benchmark suite, name the target from
37
+ ` containers-tests/containers-tests.cabal ` :
38
+ ```
39
+ cabal run set-properties # cabal test also works
40
+ cabal run map-benchmarks # cabal bench also works
41
+ ```
42
+
43
+ To run selective tests or benchmarks, you can pass a
44
+ [ filter pattern] ( https://hackage.haskell.org/package/tasty#patterns ) as
45
+ supported by ` tasty ` :
46
+ ```
47
+ cabal run set-properties -- -p fromList
48
+ cabal test set-properties --test-options "-p fromList"
29
49
```
30
50
31
51
#### For Windows users
32
52
33
- To compile ` containers-test ` , you need symbolic links to be activated on git.
53
+ To compile ` containers-tests ` , you need symbolic links to be activated on git.
34
54
To do so on Windows 10 or higher, follow these steps:
35
55
36
56
1 . Activate developer mode in your Windows preferences.
You can’t perform that action at this time.
0 commit comments