Skip to main content
testlinkconsole
===============
[![Build Status](https://travis-ci.org/chbrun/testlinkconsole.svg?branch=master)](https://travis-ci.org/chbrun/testlinkconsole)
[![Coverage Status](https://coveralls.io/repos/chbrun/testlinkconsole/badge.png?branch=master)](https://coveralls.io/r/chbrun/testlinkconsole?branch=master)

Testlink console run script test with behat.

Installation
============

## github
* Clonning repo
* change settings in testlinkclient.cfg : serverUrl and serverKey (serverKey is in testlink)
* Add custom variable in testlink :
* scriptBehat : type string. It contains path to testcase file.
* Browsers : type checkbox : Browser to use for testcase

## package pypi
To install testlinkconsole with pip, simply :
```bash
pip install testlinkconsole
```

Usage
=====

* start console with
```bash
testlinkconsole
```
* Configure testlink access :
```bash
config
set serverUrl http://[monserver]/
set serverKey [APIKey]
```
>APIKey is on the project page in testlink

* you must setting a project id
```bash
list projects
set projectid [num of project]
```
* then set a testplan
```
list testplans
set testplanid [num of testplan]
```
* Finally run test plan
```bash
run
```
>You must have behat and selenium installed et run selenium with

```bash
java -jar Selenium-[version].jar
```


Console command
===============
* help : commands help
* save : save config (testlinkclient.dfg)
* list : list projects, testplans, testcases, ...
* Rmq : list testplans is only available when projectid is valued
* config : affiche les variables de la console
* set : set variable (projectid, testplanid, ...)
* Ex : set projectid 1
* get : get value of variable
* run : run test plan

> Note that the console will automatically reload the cfg file at startup, which avoids upgrade variables for each use


TODO
====
- [ ] cmd run : run one test
- [ ] add variable UserAgent
- [X] plugins system
- [ ] report system
- [ ] Storage system
- [ ] : testlink storage : 50%
- [ ] : local storage
- [ ] runner plugins
- [X] : Behat
- [ ] : Behave

Release files for testlinkconsole 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for testlinkconsole 0.3
File Size Uploaded
testlinkconsole-0.3.tar.gz 30.0 kB Details

Release files / testlinkconsole-0.3.tar.gz

Download URL testlinkconsole-0.3.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c3a33a59108b11ad221c0b8e9ac13c022029846d75b232e8bc4cc4ed9087b763
BLAKE2b-256 checksum
How to use checksums
f3dc5e7d22091bece9da78f92a1ff6a648720f034a851947e378c360beea40ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page