dingo-d / wp-pest

A package that will add WordPress integration test suite with Pest
MIT License
119 stars 5 forks source link

Update base test case #6

Closed dingo-d closed 2 years ago

dingo-d commented 2 years ago

Description

Add Yoast's TestCase as the base test case in both unit and integration tests inside Pest.php file.

This will expose all the useful Brain Monkey mocking functions in the unit tests without explicitly importing it (test case has it covered).

Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #6 (61667dc) into main (c4da2e6) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##               main       #6   +/-   ##
=========================================
  Coverage     90.07%   90.07%           
  Complexity       38       38           
=========================================
  Files             1        1           
  Lines           131      131           
=========================================
  Hits            118      118           
  Misses           13       13           
Flag Coverage Δ
unittests 90.07% <ø> (ø)

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

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more