Php Unit test case setup
- Create a setup for Php Unit Tests along with the documentation.
Acceptance Criteria:
- Each class and its method should pass though the Php Unit test case
- If any of the methods is ignored then, it should have proper docs with a reason to ignore it.
- It should have detailed documentation for the local setup of Unit tests and how to run it locally.
@DevikVekariya
I'm assuming it will take 3-4 days. I'll try to finish as soon as possible. I've considered some extra buffer, because working for the first time.
@kiranpotphode I wanted to split this issue between multiple folks.
- Create a new branch
dev-unit-testfrom master. - Create a new branch from the dev-unit-test to write the test case
- Setup the unit tests from https://github.com/rtCamp/wp-google-login/pull/19
- Raise the PR from your test-case branch to
dev-unit-test - Make sure that we'll have one PR from dev-unit-test to master for all together
- [x] Setup the unit tests from https://github.com/rtCamp/wp-google-login/pull/19 => @kiranpotphode Please add and merge ☝️above setup in this repo , so multiple folks can work on same parallely
- [ ] classes/*.php => @kiranpotphode
- [ ] helpers/*.php => ~@thrijith~ @kiranpotphode
- [ ] traits/*.php => ~@thrijith~ @kiranpotphode
- [ ] Readme update => @kiranpotphode
- [ ] Add GH pipelines for unit-tests => @deepaklalwani97
Assign PRs to @deepaklalwani97 for the Review
@kiranpotphode Can you merge this branch #45 to your branch with PHPUnit configuration and close this PR. As master branch does not contain a unit test setup and we cannot merge it without checks passing.
@deepaklalwani97
Raise the PR from your test-case branch to dev-unit-test
Merge your PR to dev-unit-test, then all will pull dev-unit-test to their working branch.
Merged to dev-unit-test
@juhi123 The dev-unit-test branch needs to be QA tested before we can merge it to develop. Please test the dev-unit-test branch and add your findings.