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 guys. I was wondering, is there some way to extend spryker tests or run them? You know, it's the
Hi guys. I was wondering, is there some way to extend spryker tests or run them? You know, it's the same system we extend on, this way it would be nice to check if code that I extended breaks something down.
Comments
-
Hi ลฝilvinas, Iโm not sure I understand what do you want to extend. In general, we do not recommend running spryker core tests (the ones you would find in ./vendor/spryker/module_name/tests folder) but rather do use ./tests/ as an example to start writing your own tests.
0 -
anything generally (for example I override protected methods from spryker classes) if I extend anything I would like to check if other spryker code works with it. I do write my own tests. Well, maybe this was stupid idea to test if my code integrates with sprykers idk...
0 -
then you do everything correctly. Just write your test that will cover some functionality. It will then (if written correctly) cover your class and the part youโve extended from Spryker.
0 -
And yes, you should not be aiming to cover spryker core functionality but your project code
0 -
thanks for clearing that out ๐
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 921 Developer Corner
- 781 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 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
- 70 Spryker Safari Questions
- 50 Random