Refactor groups of tests for specific template tags into their own test files. This has the advantage of being able to use the recommended @covers annotation on the class DocBlock rather than the methods DocBlock.
Simplify the setting up of author, editor, guest author, and posts. By adding these fixture setups as TestCase methods, and then calling them in the individual test methods, we avoid so much dependency on the set_up() methods.
Switch to use assertObjectHasProperty() now that wp-test-utils 1.2 is released that supports it.
Improve test method names so they are more descriptive in a testdox view.
Add or amend tests to improve some code coverage.
Fix behaviour in is_coauthor_for_post() that didn't account for an invalid user ID.
Description
Various test improvements.
@covers
annotation on the class DocBlock rather than the methods DocBlock.set_up()
methods.assertObjectHasProperty()
now that wp-test-utils 1.2 is released that supports it.is_coauthor_for_post()
that didn't account for an invalid user ID.