Skip to content

Commit ddc3b1c

Browse files
authored
doc: markdown bullet points
1 parent 9083765 commit ddc3b1c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,11 @@ Note that we stopped using `prophesize` for new tests since 3.2, use `phpunit` s
124124
Both `simple-phpunit` and `behat` are development dependencies and should be available in the `vendor` directory.
125125

126126
Recommendations:
127-
- don't change existing tests if possible
128-
- always add a new `ApiResource` or a new `Entity/Document` to add a new test instead of changing an existing class
129-
- as of API Platform 3 each component has it's own test directory, avoid the `tests/` directory except for functional tests
130-
- dependencies between components must be kept at its minimal (`api-platform/metadata`, `api-platform/state`) except for bridges (Doctrine, Symfony, Laravel etc.)
127+
128+
* don't change existing tests if possible
129+
* always add a new `ApiResource` or a new `Entity/Document` to add a new test instead of changing an existing class
130+
* as of API Platform 3 each component has it's own test directory, avoid the `tests/` directory except for functional tests
131+
* dependencies between components must be kept at its minimal (`api-platform/metadata`, `api-platform/state`) except for bridges (Doctrine, Symfony, Laravel etc.)
131132

132133
Note that in most of the testing, you don't need Doctrine take a look at how we write fixtures at:
133134

0 commit comments

Comments
 (0)