Skip to content

5 codeception framework #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.classpath
.project
nbproject
vendor/
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# Db Query
Simple PHP OOP library for creating database queries.

##Development
### Testing
`DbQuery` uses [Codeception](https://github.com/Codeception/Codeception) for testing.

Run the following command from the root directory to run every test:
```
composer test
```
10 changes: 10 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
- Codeception\Extension\RunFailed
57 changes: 33 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
{
"name": "clean-bandits/db-query",
"description": "Simple PHP OOP library for creating database queries",
"keywords": [
"php",
"oop",
"db",
"query",
"dal"
],
"homepage": "https://github.com/CleanBandits/DbQuery",
"license": "MIT",
"authors": [
{
"name": "Clean Bandits"
"name": "clean-bandits/db-query",
"description": "Simple PHP OOP library for creating database queries",
"keywords": [
"php",
"oop",
"db",
"query",
"dal"
],
"homepage": "https://github.com/CleanBandits/DbQuery",
"license": "MIT",
"authors": [
{
"name": "Clean Bandits"
}
],
"require": {
"php": ">=7.2"
},
"autoload": {
"psr-4": {
"CleanBandits\\DbQuery\\": "src/"
}
},
"require-dev": {
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.0.0"
},
"scripts": {
"test": "codecept run",
"unit": "phpunit"
}
],
"require": {
"php": ">=7.2"
},
"autoload": {
"psr-4": {
"CleanBandits\\DbQuery\\": "src/"
}
}
}

}
Loading