Check out this symfony plugin:

http://robrosenbaum.com/symfony/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/

On Sep 10, 12:55 am, "Peter Krantz" <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I am new to Symfony (but have some experience with RoR and other
> frameworks). I am trying my first project and want to start TDD:ing a
> simple model class.
>
> How do I set up my test to work with the test database? Skimming
> through the book, forum and snippet repository it looks like I either
> have to:
>
> 1. follow the guide 
> herehttp://www.symfony-project.com/snippets/snippet/215which involves a
> lot of code to set up an environment,
>
> 2. or bootstrap a functional test environment in my unit test (like
> this:http://tinyurl.com/2foxne).
>
> Is there a simpler way to get a unit test working in the test
> environment? There must be a lot of developers wanting to bootstrap
> the test environment for their model unit tests?
>
> Regards,
>
> Peter


--~--~---------~--~----~------------~-------~--~----~
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