You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+22-7
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ First of all: Contributions are very welcome!
7
7
## No, my change does not require a test
8
8
So you're going to make a small change or improve the documentation? Hey, you rock!
9
9
10
-
-Either just edit [`Symfony.php`](https://github.com/Codeception/module-symfony/blob/master/src/Codeception/Module/Symfony.php) on GitHub's website.
10
+
-Just edit [`Symfony.php`](https://github.com/Codeception/module-symfony/blob/master/src/Codeception/Module/Symfony.php) on GitHub's website.
11
11
- Make sure to add a descriptive title and add an explanation for your changes.
12
12
13
-
> :bulb: You can also create a *fork* and *cloning it* on your local machine, as explained in the next section.
13
+
> :bulb: You can also create a *fork* and *clone it* on your local machine, as explained in the next section.
14
14
15
15
## Yes, my change requires a test
16
16
@@ -22,12 +22,27 @@ It is a minimal (but complete) Symfony project, ready to run tests.
22
22
### 1. Edit locally
23
23
24
24
- Go to [Codeception/symfony-module-tests](https://github.com/Codeception/symfony-module-tests) and fork the project.
- Update database schema and load Doctrine fixtures
37
+
```shell
38
+
php bin/console doctrine:schema:update --force
39
+
php bin/console doctrine:fixtures:load --quiet
40
+
```
26
41
<br/>
27
42
- Edit the module's source code in the `vendor/codeception/module-symfony/src/Codeception/Module/Symfony.php` file.
28
43
<br/>
29
-
- If you created a new method, you can test it by adding a test in the `tests/Functional/SymfonyModuleCest.php` file.
30
-
> :bulb: Be sure to Rebuild Codeception's "Actor" classes (see [Console Commands](https://codeception.com/docs/reference/Commands#Build)):
44
+
- If you create a new method, you can test it by adding a test in the `tests/Functional/SymfonyModuleCest.php` file.
45
+
> :bulb: Be sure to rebuild Codeception's "Actor" classes (see [Console Commands](https://codeception.com/docs/reference/Commands#Build)):
31
46
> ```shell
32
47
> vendor/bin/codecept clean
33
48
> vendor/bin/codecept build
@@ -63,7 +78,7 @@ It is a minimal (but complete) Symfony project, ready to run tests.
63
78
64
79
- In the CLI output, click on the link to `https://github.com/YourUserName/module-symfony/pull/new/new_feature` to create a Pull Request through GitHub.com.
65
80
66
-
Now wait for feedback on your Pull Request. If all is fine and gets merged...
81
+
Now wait for feedback on your Pull Request. If all is fine and it gets merged...
67
82
68
83
### 4. Send a Test
69
84
@@ -80,4 +95,4 @@ Now wait for feedback on your Pull Request. If all is fine and gets merged...
80
95
```
81
96
82
97
- In the CLI output, click on the link to `https://github.com/YourUserName/symfony-module-tests/pull/new/new_test` to create a Pull Request through `GitHub.com`.
83
-
Don't forget to add a link to the module's Pull Request you created.
98
+
Don't forget to add a link to the module's Pull Request you created earlier.
0 commit comments