What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi! I got a question regarding testing: is it possible (and senseful) to individually run tests of a
Hi! I got a question regarding testing: is it possible (and senseful) to individually run tests of a module (which lays inside an own repository) when it's not included within some project? I tried e.g. to execute the tests for the sprkyer/cart module but I run into several issues.
Comments
-
Yes you can. you can run it with ./vendor/bin/codeception run -c PATH_TO_CODECEPTION.YML or you also can go into the package directory, run composer update and then run the tests. Could be possible to set up the orm and transfer stuff first. In our packages we use some codeception helper module for generating this stuff for us
0 -
Okay, I tried that but keep getting composer errors. Maybe that's caused by the Spryker modules not being well configured.. π€
0 -
How do you exactly generate the ORM and transfer stuff?
0 -
for this we have developed the module fond-of-codeception/spryker
0 -
you can take a look for example into https://github.com/fond-of-oryx/company-oms-mail-connector
0 -
in the codeception.yml is it activated
0 -
Thanks a lot for this information!
But is this really the right way to go, implementing an own logic around this? How does Spryker itself executes the module tests?0 -
thats a thing you have to investigate yourself or ask anyone of spryker directly π. Can only tell you how we do this since we have invented our own mono repo and split process.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 78 Spryker News
- 936 Developer Corner
- 793 Spryker Development
- 90 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 27 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random