Running Automated Tests
The page demostrates the mutliple ways to run the automated functional tests for the API
Running the Functional Tests
Run the following commands in the elentra-1x-api directory.
Running all the tests:
composer test:unitTesting all the tests for a specific class:
composer test:unit tests/Functional/Portfolio/Http/PortfolioControllerTest.phpAlternatively, run all functional tests for a specific controller by typing the name of the test class. This will run all unit test classes matching the specified pattern.
composer test:unit:single PortfolioControllerRunning a single functional test, specify the method name:
composer test:unit:single portfolio_get_method_groups_returns_200Last updated