ssossossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums Forums OroPlatform OroPlatform – How do I? Questions Adding phpunit test

This topic contains 3 replies, has 3 voices, and was last updated by  Rodolfo 1 year, 8 months ago.

  • Creator
    Topic
  • #30143

    alendo
    Participant

    I would like to implement bundles with phpunit test suite. Is there a running example to do this?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #30144

    Alexandr Smaga
    Participant

    Hello.

    The most part of platform/crm bundles contains unit tests based on PHPUnit, some bundles also contains “functional” (in terms of symfomy2) test suites based on PHPUnit as well. So you can use any of it as example.

    #30145

    Rodolfo
    Participant

    Hi @alendo,

    Did you manage to run PHPunit tests in your bundle?

    I’m getting this error:

    Does anybody knows how can I change it to use the correct path under vendor folder?

    Thank you

    #30146

    Rodolfo
    Participant

    Nevermind.. passing –no-configuration fixed the path error.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.