Development Workflow of Project on Shopsys Framework
How to develop a new feature¶
Create a new branch from
Develop your feature
Check and automatically fix your code standards using
php phing standards-fix-diff
In this step you were using Phing target
More information about what Phing targets are and how they work can be found in Console Commands for Application Management (Phing Targets)
Check if all tests are passing using
php phing tests
Run acceptance tests
php phing tests-acceptance
We suggest you running acceptance tests on your Continuous Integration server because it takes several minutes to run them.
Create commit with descriptive commit message about changes you have made.
We have Guidelines for Creating Commits for contributors to Shopsys Framework. These guidelines suggest some best practices for creating commits that you could adopt on your project.
Push changes to your remote GIT repository
Let some colleague review your code and fix all reported problems
We pay a lot of attention to code quality in Shopsys company. Apart from automatic testing and coding standards checks at least one of the colleagues reviews your code and another colleague tests changes whether they are working properly. We found this practices very important and we suggest them to you as part of your development process.
Rebase your branch on the current version of
This leads to clean GIT history.
Merge your branch (e.g.