WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35199, comment 3


Ignore:
Timestamp:
12/23/2015 04:28:30 AM (5 years ago)
Author:
OddOneOut
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35199, comment 3

    initial v1  
    11@boonebgorges thanks for your quick reply.
    22
    3 Let's say I have a function in my plugin that lists all post titles. If I create a test for this, naturally I will create posts using the factory before every test (each test has a different number of posts), so that:
     3Let's say I have a function in my plugin that lists all post titles. If I create a test for it, naturally I will create posts using the factory before every test (each test has a different number of posts), so that:
    44
    55- Test 1 will assert this output: "Post title list: Post title 1, Post title 2"