Rename the unit tests wp-config.php to wp-tests-config.php. Also:
 * Rename wp-testdata to data
 * Rename wp-testlib to includes
 * Rename wp-testcase to tests
 * Begin to remove files from the old test suite we no longer need to port code from

fixes #98. see #42.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@875 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Set svn:eol-style to native


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@883 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Request all open tickets from a Trac install at once.

This prevents repeated HTTP requests for individual tickets and
allows us to keep knownWPBug (or @ticket - see #102) in place for
tickets already closed, without any real performance penalty.
This is good for tracking and also in case a bug is reopened.

This shaved 30 seconds off the test suite run time for me.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@891 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Use @ticket annotation for tracking related tickets, largely replacing knownWPBug() and friends.

The existing methods should remain, for use in dynamic or conditional contexts, like the canonical tests or an is_multisite() check.

props duck_. see #102.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@893 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Convert knownWPBug and knownUTBug to @ticket annotations. fixes #102.

Allows for an extra description to be included with the annotation,
which will be passed to markTestSkipped().



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@894 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Remove ability to provide an extra description to the @ticket annotation, added in [984].

This extra text causes problems when you try to use a ticket # as a group name, which phpunit supports.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@896 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Pinking shears

git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@903 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Only use the method name when looking for @ticket annotations.

For test cases using data providers (e.g., canonical tests), the name would include erroneous text describing which data entry was being executed. This caused reflection failures when looking for @ticket annotations.

git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@906 4a5a2adb-35eb-4268-9a1b-fe04a4134342
When calling phpunit with a --group of a @ticket annotation (--group 12345, --group UT123), force the tests associated with them, rather than skipping them.

Minimizes the need to use WP_TESTS_FORCE_KNOWN_BUGS and makes it easier to run tests for a specific ticket.

see #49.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@918 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Cache to disk the list of open tickets from a Trac install, in case you wish to run the tests offline. Handles a failed HTTP request to a Trac install a bit more gracefully. see [891].



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@919 4a5a2adb-35eb-4268-9a1b-fe04a4134342
More cleaning of the Trac URL while converting it to a file path in [919].

git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@920 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Remove debug in [920].

git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@921 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Don't fatal when wp_insert_term() returns WP_Error. Props kurtpayne. fixes #107

git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@922 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Colorize our own post-run warnings and notices.



git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@927 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Introduce create_and_get() 

Sometimes we need to get the object after creating it and this is a
convenient shortcut.

As a consequence, it introduces get(), so that we have a common way
to retrieve object by its id


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@948 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Rename get() to get_object_by_id()

All the other object manipulation methods have object in its name. Also
it's better for the reader to know we get it by id, otherwise it's too
generic.


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@949 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Typo: missed a paren when defining the methods


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@950 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Introduce a category factory

Accomodate the term taxonomy, but set the default taxonomy on construct


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@952 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Factories: switch to get_term() for get_object_by_id() for terms

get_term_by_id() internally calls get_term() when the field is 'id' and
it's also the canonical way to get a term by id


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@953 4a5a2adb-35eb-4268-9a1b-fe04a4134342
Typo: get the arguments of get_term right


git-svn-id: http://unit-test.svn.wordpress.org/trunk/includes@954 4a5a2adb-35eb-4268-9a1b-fe04a4134342