You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
New REST endpoints or updated GraphQL query syntax?
New command line option?
Content
Hi!
When creating a PR on the magento2 repo, there are a bunch of automated tests which get executed. But there currently doesn't seem to be a clear explanation of how to execute these tests yourself.
It would be nice if we have some documentation which says how to run those tests, so we can already prepare the PR ourselves to get accepted faster and not having to go back and forth and wait until the automated tests have run after changing something.
There is already some good documentation around how to run unit tests, but the other tests (static tests for example) are not documented properly I think. There is this page, which says to call bin/magento dev:tests:run static, but that doesn't seem to give the same results as the static tests ran through automatisation.
Additional information
For example, I created a PR magento/magento2#22733 which apparently failed on some static tests. And then a Magento developer fixed those. Which is great btw, but I would like to be able to see those failures myself and fix them myself if possible before creating the PR.
When asking how to execute these static test, I didn't get a very clear answer, so I went looking in the documentation where to find information regarding that and I couldn't find anything around it (unless I missed it somehow).