Skip to content

Testing: Remove PHPUnit tests covering core functions#13513

Merged
aduth merged 1 commit intomasterfrom
remove/php-unit-tests
Jan 28, 2019
Merged

Testing: Remove PHPUnit tests covering core functions#13513
aduth merged 1 commit intomasterfrom
remove/php-unit-tests

Conversation

@aduth
Copy link
Copy Markdown
Member

@aduth aduth commented Jan 25, 2019

This pull request seeks to remove PHPUnit test suites covering functions provided by WordPress core.

This includes coverage for:

  • WP_Block_Type_Registry (class-block-type-registry-test.php)
  • WP_Block_Type (class-block-type-test.php)
  • do_blocks (class-do-blocks-test.php, class-dynamic-blocks-render-test.php, class-reusable-blocks-render-test.php)
  • parse_blocks (class-performance-test.php)
  • register_block_type, unregister_block_type, get_dynamic_block_names (class-registration-test.php)

See: https://github.com/WordPress/wordpress-develop/tree/master/tests/phpunit/tests/blocks

Testing instructions:

Verify tests pass:

npm test

@aduth aduth added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Jan 25, 2019
Copy link
Copy Markdown
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants