I would like to run the EspoCRM tests from inside a Docker container.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Theyne
    Junior Member
    • Dec 2024
    • 1

    I would like to run the EspoCRM tests from inside a Docker container.

    Hello,

    I would like to run the EspoCRM tests from inside a Docker container. I've set up EspoCRM using Docker, as described here.

    I see that the tests directory is not included in the Docker image, so I coped it over manually. I was looking at the docs for how to run the tests, but see that I am also missing a 'vendor/bin/phpunit' file to run the unit tests.

    Could you let me know how it is possible to run tests inside the Docker container?

    Thanks!
    Alex
  • yuri
    Member
    • Mar 2014
    • 8453

    #2
    Hi Alex,

    I don't think you can unless you build your own container with the code from the Espo GitHub repository. You will need to run "composer install" to install all dev dependencies.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...