61d7b4a58d
To run all available tests its enough to call $ phpunit from the root workspace directory; the default phpunit configuration resides in phpunit.xml. A bootstrap script sets some default paths and can be extended later on with other useful stuff. Each test class' path should mimic the name and path of the source class, only that the test class gets an additional "Test" appended so PHPUnit can find it automatically. The data directory can be used in a flat manner; for tests that need test data a separate directory containing these files should be added, and the directory should be named after the test class itself. The first test which uses the new infrastructure is a test for the rewritten diff parser (closes issue 627).
14 lines
367 B
Diff
14 lines
367 B
Diff
#
|
|
# old_revision [019c2c7a876819db59add22c98c7939e32d81161]
|
|
#
|
|
# patch "a"
|
|
# from [03cfd743661f07975fa2f1220c5194cbaff48451]
|
|
# to [023cc93272e5cbc11f128ffc90fbbe42f6f08d8c]
|
|
#
|
|
============================================================
|
|
--- a 03cfd743661f07975fa2f1220c5194cbaff48451
|
|
+++ a 023cc93272e5cbc11f128ffc90fbbe42f6f08d8c
|
|
@@ -1 +1 @@
|
|
-abc
|
|
+ls
|