Skip to content

Commit 09cf93c

Browse files
author
dbarsukov
committed
Added info about using local repo in readme
1 parent ff39a35 commit 09cf93c

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Lastly, if you just want to see the module in action and run the tests yourself
3434
Then, go to the project directory and run:
3535

3636
```shell
37-
vendor/bin/codecept run Functional
37+
composer test
3838
```
3939

4040
### Create Unit Suite or Acceptance Suite
@@ -44,3 +44,24 @@ To create [Unit Tests](https://codeception.com/docs/05-UnitTests) or [Acceptance
4444
vendor/bin/codecept generate:suite Unit
4545
vendor/bin/codecept generate:suite Acceptance
4646
```
47+
48+
### Create a Test
49+
50+
```shell
51+
php vendor/bin/codecept generate:cest Functional <Name>
52+
```
53+
54+
### Using local code for tests
55+
56+
Assuming you checked out module-symfony into the same directory with symfony-module-tests, you can test your branch. Add following code into composer.json and run `composer update`. Don't forget to revert composer.json and composer.lock before commit.
57+
```
58+
{
59+
// ...
60+
"repositories": [
61+
{
62+
"type": "path",
63+
"url": "../module-symfony"
64+
}
65+
]
66+
}
67+
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy