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..
I'm still trying to get a handle on running tests, they kinda work with the
I'm still trying to get a handle on running tests, they kinda work with the deploy.ci.*.yml but they dont with dev profile. I can't figure out what flag I'm missing. Or even better get them working through PHPStorm
Comments
-
I'm trying to run a single suite and it fails:
ββ/data | Store: FI | Env: docker.dev | Debug: (.) | Testing: (X) β°β$ codecept run -c tests/PyzTest/Zed/Product Codeception PHP Testing Framework v4.1.22 Powered by PHPUnit 9.5.9 by Sebastian Bergmann and contributors. PyzTest\Zed\Product.Business Tests (6) ---------------------------------------------------------------------------------------------------------------------------------------------------- E ProductAbstractManagerTest: Create product abstract should create product abstract and trigger plugins E ProductAbstractManagerTest: Create product abstract should create product abstract and trigger plugins (0.11s) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- In ConnectionFactory.php line 42: Unable to open connection In PdoAdapter.php line 82: Unable to open PDO connection In PdoConnection.php line 82: SQLSTATE[HY000] [2002] Connection refused
0 -
I get a similar error. it seems the db isnβt created for some reason. maybe Iβm running the wrong command?
0 -
The group notation e.g.
codecept run -g Discount
does work π€0 -
some configuration magic still missing to get the stuff working through PHPStorm. Looks like it doesn't see the environment variables hence the above errors
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 899 Developer Corner
- 760 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 24 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
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random