joomla / test-api
Joomla CMS API tests
Installs: 5 969
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 10
Forks: 5
Language:Shell
Type:project
Requires
- php: >=7.0.0
- codeception/codeception: ~2.3
This package is auto-updated.
Last update: 2020-08-06 00:45:25 UTC
README
Abstract
This repo is meant to hold the Joomla 4 API (webservices) tests.
Installation
A) From Joomla Main repo
Run a composer install
in the joomla directory and adjust the REST url in
libraries/vendor/joomla/test-api/tests/api.suite.yml
and copy the codeception.yml
to the Joomla main directory.
B) Standalone
Run a composer install
and adjust the paths in the codeception.yml (to tests
). Also adjust the REST url in
libraries/vendor/joomla/test-api/tests/api.suite.yml
Tests with authentication require a user
admin
with passwordadmin
as credentials for now.
Running
vendor/bin/codecept run api
You can also run the command with --debug
to get some extended information.