30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-01 14:00:51 +00:00
This repo is meant to hold the decoupled com_weblinks component and related code.
Go to file
2015-09-06 23:42:25 +01:00
src Fixed clear button not working. 2015-09-06 12:05:17 -03:00
tests Fixing Weblinks Test 2015-09-06 22:49:36 +05:30
.gitignore Ignore tests output as well 2015-05-30 19:07:34 +02:00
.travis.yml Update travis call to run tests 2015-07-22 16:44:59 +02:00
build.ini Prepare 3.4.1 release 2015-07-23 10:06:44 -04:00
build.xml Initial decoupling of Weblinks 2014-04-08 22:32:59 +10:00
codeception.yml Add system tests codebase 2015-05-24 21:32:32 +02:00
composer.json Add system tests codebase 2015-05-24 21:32:32 +02:00
CONTRIBUTING.md Initial decoupling of Weblinks 2014-04-08 22:32:59 +10:00
LICENSE Initial decoupling of Weblinks 2014-04-08 22:32:59 +10:00
manifest.xml Change manifest client to "site" and remove outdated "client_id". 2015-07-23 21:26:56 +02:00
README.md Update the way to run All the tests 2015-08-04 09:57:35 +02:00
RoboFile.php Update Selenium 2015-07-29 18:21:47 +02:00

Weblinks for Joomla! Build Status

This repo is meant to hold the decoupled com_weblinks component and related code.

Tests

To prepare the system tests (Selenium) to be run in your local machine you are asked to rename the file tests/acceptance.suite.dist.yml to tests/acceptance.suite.yml. Afterwards, please edit the file according to your system needs.

To run the tests please execute the following commands (for the moment only working in Linux and MacOS, for more information see: https://docs.joomla.org/Testing_Joomla_Extensions_with_Codeception):

$ composer install
$ vendor/bin/robo
$ vendor/bin/robo run:tests

##For Windows:

You need to install:

Note: For commands line is better if you use the 'Git shell' program.

Create a symbolic link from your tests\joomla-cms3 to a subfolder of your web server. For example, I'm creating a link between the tests folder of my weblinks folder and the tests folder of my web server: mklink /J C:\wamp\www\tests\joomla-cms3 C:\Users\Nicolas\Documents\GitHub\weblinks\tests\joomla-cms3

Go in the folder of weblinks, for example: cd C:\Users\Nicolas\Documents\GitHub\weblinks

Then, run the command: composer install

That will add all the dependencies for the testing of weblinks You can then run the command: vendor\bin\robo.bat test:acceptance