30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 06:50:49 +00:00
This repo is meant to hold the decoupled com_weblinks component and related code.
Go to file
Viktor Vogel d80c21024e Merge pull request #106 from Kubik-Rubik/readme_windows
Updated README.md  for Windows
2015-10-30 17:03:27 +01:00
src Update edit.php 2015-09-10 10:27:45 +02:00
tests Updating the comment 2015-10-30 19:10:25 +05:30
.gitignore Added local caching for the cloned joomla-cms 2015-10-29 15:57:41 +01:00
.travis.yml [tests] Added integration tests and moved to codeception 2.1 2015-09-30 19:30:10 +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 [tests] Added integration tests and moved to codeception 2.1 2015-09-30 19:30:10 +02:00
composer.json [tests] Added integration tests and moved to codeception 2.1 2015-09-30 19:30:10 +02:00
composer.lock Updating Composer to load latest Joomla! Browser 2015-10-30 19:10:16 +05:30
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 Updated wording 2015-10-30 17:02:58 +01:00
RoboFile.dist.ini Extend clone options 2015-10-30 12:51:48 +01:00
RoboFile.php Merge pull request #118 from Kubik-Rubik/build_codeception_windows 2015-10-30 16:46:31 +01: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.

First you should create a fork of the official repository and clone the fork into your web server folder.

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.

The next step is only required if you don't place the weblinks folder into your web server folder. Create a symbolic link from your tests\joomla-cms3 to a subfolder of your web server. For example:

mklink /J C:\wamp\www\tests\joomla-cms3 C:\Users\Name\Documents\GitHub\weblinks\tests\joomla-cms3

Open the console and go in the folder of weblinks, for example:

cd C:\wamp\www\weblinks

Then run the command:

$ composer install

You can then run the following command to start the tests:

$ vendor/bin/robo run:tests

Once all tests were executed, you may also run a specific test:

$ vendor/bin/robo run:test // Then select the test you want to run!