Hi,

>From my experience the best way to achieve this is to use in-memory
databases (f.i. with SQLite). They are fast and are created seperately
for every test process, so they don't interfere with each other.

You also have to make sure that any other physical fixtures (f.i.
files) are dealt with in a separated directory for each test process.

Further tips for increasing test performance:

* Make sure all tests use the smallest possible fixture set in the DB.
Don't load unnecessary data.
* Write many unit tests and few functional tests, not the other way round
* Don't initialize the database for a test if you don't need to

Lime 2 features native support for running tests in parallel
processes. You can read the blog post for further information:
http://www.symfony-project.org/blog/2009/11/10/lime-2-alpha-released


Bernhard

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to