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..
When I run `vendor/bin/codecept run -c tests/PyzTest/Glue/Products` I get: ``` 1) ProductAbstractRes
When I runvendor/bin/codecept run -c tests/PyzTest/Glue/Products
I get:
but there's no such thing as codecept fixtures:
I run codecept build earlier, but that didn't help. What else should I run to make this work? https://documentation.spryker.com/tutorials/introduction/t-testing-tdd-scos.htm doesn't help here.
Comments
-
this really is annoying, pls stop
0 -
Are those fixtures mentioned in codeception.yml or something else? We're testing Glue with codecept too, but don't have such issues
0 -
@UKTSRTD5M well, once I get the answer that helps I'll stop. I promise
0 -
@UKHR9UN00 I'm trying to run core Spryker tests,
the fixtures is probably this one
https://github.com/spryker-shop/suite/blob/master/tests/PyzTest/Glue/Products/RestApi/ProductsRestApiFixtures.php0 -
if those tests work for you, can you please let me know if you have the file at
/data/shop/development/current/tests/PyzTest/Glue/Products/_support/_generated/PyzTest_Glue_Products_RestApi_ProductsRestApiFixtures.fixtures
?0 -
We don't have this test in our suite. We've written our own tests without fixtures.
0 -
So I can tell, tests will at least run without fixtures. π
0 -
But that probably doesn't help you with this particular problem.
0 -
This is a community slack not official support. If it is a bug report it. If it your project issue and community can't help you are on your own.
0 -
π€ I'm not really happy with core tests removal, my guess was Spryker team knew what they're doing when implemeneted them.
While I don't necessarily rely on Glue in our app, I wouldn't really push non-stable (test-breaking) code to production0 -
How about debugging the issue?? What have you tried so far besides running stuff?
0 -
@UKHD8KTMF thank you for assuming I'm simply lazy. π I can assure you I'm not and I successfully fixed all the other 20+ tests that didn't work for us. I tried debugging it and there's nothing I can find (that's normally the moment when a developer asks the community I guess)
0 -
Β―_(γ)_/Β―
0 -
Thank you @UKHR9UN00 for acting professionally, though, and helping out with what you have. I'll consider removing the failing tests if there's no way for me to fix them (and add a TODO to re-check them in a month, maybe they will work again by then)
0 -
If no one is answering a few days already might mean that people here canβt help - they simply donβt have the issue youβre facing. I would also suggest to report an official bug to Spryker..
0 -
OR they are not exactly back from holiday yet π
0 -
either way you could just ignore me instead of telling me the obvious, if bumping the topic didn't give me the answer I'd stop it eventually, but turns out it was actually a good Idea and Felix stepped out TODAY and replied with his approach on tests. not exactly a fix, but helps
0 -
issuing a bug is a good idea, still..
0 -
@UK5DS29L2 I never assumed anything. I can just feel your frustration that no one was helping you. Asking what have you tried so far and if you debugged the issue is nothing personal. If you felt otherwise, then accept my apologies.
0 -
I would also suggest to report an official bug to Spryker..
consider it done π Sent through support.spryker.com
0 -
Jan Myszkier [11:29 AM]
OR they are not exactly back from holiday yet π0 -
What do you think @UK5DS29L2 is the count of people returning from holiday each day related to the count of people who have read your message and are not able to comment on it?
0 -
huge
0 -
it is huge
0 -
but honestly, drop it. I got what I needed and bug is submitted
0 -
Hi Jan, Iβm trying to reproduce your problem using latest master of
spryker-shop/suite
repository.Iβve run
codecept run -c tests/PyzTest/Glue/Products
and got the same error about fixtures.
But running thencodecept fixtures
generatedtests/PyzTest/Glue/Products/_support/_generated/PyzTest_Glue_Products_RestApi_ProductsRestApiFixtures.fixtures
for me. Therefore tests ran.0 -
So it seems to be all I was missing was
therefore this is now fixed and the issue can be closed. Thank you @valerii.trots for checking on that
0 -
Thank you for the feedback!
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 65 Spryker News
- 879 Developer Corner
- 743 Spryker Development
- 84 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 33 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 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