Skip to content

Commit aa58700

Browse files
Docs for selecting a testing framework.
1 parent efc0120 commit aa58700

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,18 @@ The current project structure will be the following:
3737

3838
This is a good starting point. You can continue your work from there.
3939

40+
#### Select testing framework
41+
The `--test` option will allow you to select a testing framework. One of the following is available at the moment: `phpunit`, `phpspec`, `codeception` or `behat`. `phpunit` is currently the default.
42+
43+
```bash
44+
construct generate jonathantorres/logger --test=codeception
45+
```
46+
47+
You can also use the short code `-t`
48+
49+
```bash
50+
construct generate jonathantorres/logger -t codeception
51+
```
52+
4053
#### Run tests
4154
Just run `vendor/bin/phpunit` from your project root directory.

0 commit comments

Comments
 (0)