Skip to content
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

chore(Unit Testing): Adds Unit Testing & New Local Development Environment #501

Merged
merged 1 commit into from Dec 23, 2023

Conversation

timnolte
Copy link
Collaborator

@timnolte timnolte commented Nov 7, 2023

All Submissions:

Changes proposed in this Pull Request:

  • Refactors and adds unit tests.
  • Fixes Gruntfile testing.
  • Adds unit testing w/ Docker using the Dev Container image.
  • Updates NPM & Composer dependencies.

How to test the changes in this Pull Request:

  1. Use either GitHub Codespaces or local Visual Studio Code. (see: https://github.com/forumone/wp-cfm/wiki/How-to-setup-the-plugin-development-environment)
  2. Confirm that the development environment starts up.
  3. Run composer phpunit to confirm running tests. (Also observe GitHub Actions)

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully run tests with your changes locally?

@timnolte timnolte added bug enhancement Issues & PRs related to new features. labels Nov 7, 2023
@timnolte timnolte force-pushed the feature/unit-tests branch 28 times, most recently from d1ddd18 to 515304e Compare November 12, 2023 23:46
@timnolte timnolte force-pushed the feature/unit-tests branch 2 times, most recently from 78b1ccd to ebda00a Compare November 13, 2023 00:11
Copy link

github-actions bot commented Nov 13, 2023

Coverage report for commit: 2a55e47
File: clover.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███████████████████████ │ 87.5%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ████░░░░░░░░░░░░░░░░░░░ │ 12.5%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  90% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
 100% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 0.93% | Methods: 1.01%
FilesLinesMethodsBranches
/workspaces/openid-connect-generic/includes
   functions.php-100.00%100.00%
   openid-connect-generic-client-wrapper.php--100.00%
   openid-connect-generic-client.php--100.00%
   openid-connect-generic-login-form.php--100.00%
   openid-connect-generic-option-logger.php--100.00%
   openid-connect-generic-option-settings.php47.37%12.50%100.00%
   openid-connect-generic-settings-page.php--100.00%
/workspaces/openid-connect-generic
   openid-connect-generic.php1.77%-100.00%

🤖 comment via lucassabreu/comment-coverage-clover

@timnolte timnolte force-pushed the feature/unit-tests branch 4 times, most recently from c5001ef to 70c2418 Compare November 16, 2023 04:17
@timnolte timnolte force-pushed the feature/unit-tests branch 3 times, most recently from 847ff7e to f5d0c37 Compare December 23, 2023 00:44
…nment

- Refactors and adds unit tests.
- Fixes Gruntfile testing.
- Adds unit testing w/ Docker using the Dev Container image.
- Updates NPM & Composer dependencies.
@timnolte timnolte changed the title fix(tests): Adds Unit Testing & New Local Development Environment chore(Unit Testing): Adds Unit Testing & New Local Development Environment Dec 23, 2023
@timnolte timnolte marked this pull request as ready for review December 23, 2023 00:52
@timnolte timnolte merged commit c2c73fd into dev Dec 23, 2023
8 checks passed
@timnolte timnolte deleted the feature/unit-tests branch December 23, 2023 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement Issues & PRs related to new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant