-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ | |
.classpath | ||
.project | ||
nbproject | ||
vendor/ | ||
*.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# Db Query | ||
Simple PHP OOP library for creating database queries. | ||
|
||
Run tests using: composer test | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
paths: | ||
tests: tests | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this file can stay in source as codeception.yml, no need for dist |
||
output: tests/_output | ||
data: tests/_data | ||
support: tests/_support | ||
envs: tests/_envs | ||
actor_suffix: Tester | ||
extensions: | ||
enabled: | ||
- Codeception\Extension\RunFailed |
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": ".\\vendor\\bin\\codecept.bat run", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will work only for windows |
||
"unit": "phpunit" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"CleanBandits\\DbQuery\\": "src/" | ||
} | ||
} | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation should be updated properly. Introduce new section Contribution, sub section Development and subsub section Testing.
Need to add description hav to setup testing - e.g. copy codeception.yml-dist to codeception.yml, etc.