Thanks! [?]
2011/5/11 Gediminas Morkevicius
> As what relates to repository, you can make usually functional tests,
> unless you have completely different logic in it, and instead of getting
> entities your repository modifies them for instance.. Testing entities, you
> can make a mock of it, an
As what relates to repository, you can make usually functional tests, unless
you have completely different logic in it, and instead of getting entities
your repository modifies them for instance.. Testing entities, you can make
a mock of it, and test weather setName sets the name, getName gets the
you need more understanding as to what is really a unit testing
and what is an entity class, I am sure Stof or other will notice your
email, basically just go read the documentation over and over
www.symfony.com
On Tue, May 10, 2011 at 8:47 PM, oscar balladares wrote:
> I have made this same ques
I have made this same question, and no answer given to current date :(
I would even appreciate a "There is no way to accomplish it" answer, that
would be better than nothing :'(
2011/5/10 Kevin
> Would also like to know.
>
> On Mar 17, 10:04 am, Justin Fortier wrote:
> > I'd like to know how
Would also like to know.
On Mar 17, 10:04 am, Justin Fortier wrote:
> I'd like to know how to do this as well.
>
> On Mar 9, 9:33 am, "Don Pinkster" wrote:
>
>
>
>
>
>
>
> > I amtestingmy services (controllers) with plain PHPUnit, this all works
> > great. But now I want totestmy entities and r
I'd like to know how to do this as well.
On Mar 9, 9:33 am, "Don Pinkster" wrote:
> I amtestingmy services (controllers) with plain PHPUnit, this all works
> great. But now I want to test my entities and repositories.
>
> How can I specify the environment the tests are run in with PHPUnit withou