Skip to content

Commit c56a6d9

Browse files
Merge branch 'main' into frontend-crud
2 parents a12894a + 11ad33c commit c56a6d9

File tree

13 files changed

+1664
-468
lines changed

13 files changed

+1664
-468
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules
22
/vendor
3-
/build
3+
/build
4+
.phpunit.result.cache

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ npm run start:hot
2424
npm run build
2525
```
2626

27+
### Run PHP Unit Test
28+
29+
```sh
30+
./vendor/bin/phpunit
31+
```
32+
2733
After running `start`, or `build` command, there will be a folder called `/build` will be generated at the root directory.
2834

2935
### Browse Plugin
@@ -90,13 +96,19 @@ Or, it could be your custom processed URL.
9096
[View Detailed documentations with parameters and responses of the REST API](https://github.com/ManiruzzamanAkash/wp-react-kit/blob/main/Rest-API-Docs.MD)
9197

9298
### Version & Changelogs
99+
93100
**v0.4.0 - 12/08/2022**
94101

95102
1. Added many re-usable general components.
96103
1. Header Component refactored and re-designed.
97104
1. WP-Data setup and made Job Store.
98105
1. Job List Page frontend added.
99106

107+
**v0.3.1 - 11/08/2022**
108+
109+
1. PHPUnit Test cases setup.
110+
1. PHPUnit Test cases added for Job Manager and Job REST API's.
111+
100112
**v0.3.0 - 02/08/2022**
101113

102114
1. Necessary traits to handle - sanitization, query.
@@ -189,10 +201,6 @@ https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vPhpOOP
189201
![Demo Plugin](https://i.ibb.co/vPp9Mm9/Wp-Scripts-Demo.png "Demo in WordPress plugin")
190202

191203

192-
193-
194-
https://i.ibb.co/nr3pTXM/Jobs-Search.png
195-
196204
### Final Demos
197205

198206
**Job List Page**

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,26 @@
1010
}
1111
],
1212
"config": {
13-
"platform": {
14-
"php": "^7.3||8.0"
15-
},
1613
"allow-plugins": {
1714
"dealerdirect/phpcodesniffer-composer-installer": true
1815
}
1916
},
17+
"require": {
18+
"php": ">=7.0.0|8.0"
19+
},
2020
"require-dev": {
2121
"wp-coding-standards/wpcs": "dev-master",
2222
"dealerdirect/phpcodesniffer-composer-installer": "dev-master",
2323
"tareq1988/wp-php-cs-fixer": "dev-master",
2424
"phpcompatibility/phpcompatibility-wp": "dev-master",
25-
"phpunit/phpunit": "^6.5"
25+
"wp-phpunit/wp-phpunit": "^6.0",
26+
"yoast/phpunit-polyfills": "^1.0",
27+
"phpunit/phpunit": "^9.5"
2628
},
2729
"autoload": {
2830
"psr-4": {
2931
"Akash\\JobPlace\\": "includes/",
30-
"Akash\\JobPlace\\Tests\\": "tests/"
32+
"Akash\\JobPlace\\Tests\\": "tests/phpunit/"
3133
}
3234
},
3335
"scripts": {

0 commit comments

Comments
 (0)