OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

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 4 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #35791
    alendo
    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
  • #35792

    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.

    #35793

    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

    #35794

    Rodolfo
    Participant

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

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

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No