silverstripe-framework/docs/en/topics/testing/testing-guide-troubleshooting.md
David Alexander 870dfb737b DOCS 2.4 : Fixed all internally generated 404s
DOCS 2.4 : Fixed some external links causing 404s

DOCS 2.4 : adjusted link labels

DOCS 2.4 : another link label fixed up

DOCS 2.4 : fixed link
2015-12-21 09:22:48 +13:00

555 B

Troubleshooting

I can't run my new test class

If you've just added a test class, but you can't see it via the web interface, chances are, you haven't flushed your manifest cache - append ?flush=1 to the end of your URL querystring.

Class 'PHPUnit_Framework_MockObject_Generator' not found

This is due to an upgrade in PHPUnit 3.5 which PEAR doesn't handle correctly.
It can be fixed by running the following commands:

pear install -f phpunit/DbUnit
pear install -f phpunit/PHPUnit_MockObject
pear install -f phpunit/PHPUnit_Selenium