-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Testing Guidelines | ||
=================== | ||
|
||
Some intro. | ||
|
||
Purpose | ||
------- | ||
|
||
1. Help maintainers understand what problem the given code change is trying to solve. | ||
2. Make sure that the problem being solved needs to be solved in the DBAL. | ||
3. Prevent breakages of the logic by new code changes. | ||
|
||
Requirements | ||
------------ | ||
|
||
Each pull request that adds new or changes the existing logic must have tests. | ||
|
||
Unit Tests | ||
---------- | ||
|
||
Integration Tests | ||
----------------- | ||
|
||
Integration (a.k.a. functional) test are required when the behavior under the test is dictated by the logic | ||
defined outside of the DBAL. It could be: | ||
|
||
1. The underlying database platform. | ||
2. The underlying database driver. | ||
3. SQL syntax and the standard as such. | ||
|
||
TODO: | ||
Why it's important to cover the above with integration tests? |