Hi,

I think you should take a look at sfSympalPlugin.

--
Vincent

Le 08/02/10 18:40, Alex Gilbert a écrit :
Agree with Thibault on this one. Some docs or even an officially
blessed example would be useful. As a general concept this makes sense
to me - an embedded test project inside your plugin that gives you a
proper test environment - but I'm currently writing plugin tests the
"old way" because I'm not sure how it's all supposed to work in
practice.

Anyone know any core plugins that use the test fixtures project? I
just checked my sfDoctrineGuardPlugin and it's not using it.

On Sun, Feb 7, 2010 at 7:30 AM, Christian Schaefer<[email protected]>  wrote:
Hi Thibault,
I thought that will probably be the intention. I will have a look at your
plugin tests to learn a bit more.
If I find anything conclusive I will let you know.
Cheers
/Christian

On Sun, Feb 7, 2010 at 1:24 PM, Thibault Jouannic<[email protected]>  wrote:
Hi,

I'v been using this project to write tests for one of my plugins [1].
The advantage is that you can write specific tests, independently from
any "real" project.

However, it's true that I never found any documentation about it, and
I remembered I had a hard time to make it work. So I sure would
appreciate some official documentation about the topic.

[1] http://www.symfony-project.org/plugins/tjSolrDoctrineBehaviorPlugin

Cheers.
Thibault.

On Feb 6, 10:48 pm, Christian Schaefer<[email protected]>  wrote:
Hi all,

if you generate a new plugin by default there will be a folder test/
fixtures/project that holds a whole project structure.

I can sense that this is a project environment for testing purposes
only, but as it is not documented at all (unless I'm very much
mistaken) I like to ask about the purpose and about how it is meant to
be used.

Do any of you use it for your tests? How? What are the benefits and
drawbacks compared to the project your plugin is run in?

Any help or opinion is appreciated!

Cheers
/Christian
--
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en.

--
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en.




--
You received this message because you are subscribed to the Google Groups "symfony 
developers" 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-devs?hl=en.

Reply via email to