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

Replace Pest by PHPUnit #11

Merged
merged 15 commits into from
Mar 15, 2021
Merged

Replace Pest by PHPUnit #11

merged 15 commits into from
Mar 15, 2021

Conversation

lusimeon
Copy link
Contributor

Hi,

To be able to use WordPress native functions and to run tests in a Wordpress database I propose to install WordPress test suite.

This one isn't compatible with PHPUnit > 7.* and Pest isn't compatible with PHPUnit < 9.* so we should remove Pest and use PHPUnit standalone to use it.

@lusimeon lusimeon requested a review from a team December 14, 2020 17:20
@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #11 (9827ae5) into develop (01d8159) will increase coverage by 0.88%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #11      +/-   ##
=============================================
+ Coverage      24.46%   25.35%   +0.88%     
  Complexity       102      102              
=============================================
  Files              5        5              
  Lines            282      280       -2     
=============================================
+ Hits              69       71       +2     
+ Misses           213      209       -4     
Flag Coverage Δ Complexity Δ
unittests 25.35% <ø> (+0.88%) 0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
src/Assets.php 0.00% <0.00%> (ø) 27.00% <0.00%> (ø%)
src/Builders/TaxonomyBuilder.php 39.39% <0.00%> (+3.03%) 26.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 535d94e...7e529c5. Read the comment docs.

Specify PHP version to 7.3

Update composer packages
@lusimeon lusimeon mentioned this pull request Jan 18, 2021
1 task
@titouanmathis
Copy link
Contributor

@lusimeon Let's get this merged 👍

@lusimeon lusimeon merged commit 7e529c5 into develop Mar 15, 2021
@titouanmathis titouanmathis deleted the feature/replace-pest-for-phpunit branch July 14, 2021 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants