Oro applications come with a multitude of features that you can configure in a variety of ways to fulfill your specific business needs. To ensure all the built-in features work as expected, no matter what configuration combination business is using, Oro developers write tests. Since the application has many features, automated testing is a big part of the development. From the project start, we have been writing unit and functional tests, which help to test the application architecture and programming APIs.
However, these kinds of tests give developers no guaranty that when the user opens a page, everything is going to work as expected. For this reason, we use Behat Behavior-Driven Development framework, which instead of relying on the source code behaves like an actual user. It can emulate the user very well, run tests in a real web browser, and uses a business-readable, domain-specific language called Gherkin to describe tests.
Follow the links below to learn how to use automated tests for Oro applications: