robotframework-hub icon indicating copy to clipboard operation
robotframework-hub copied to clipboard

Add ability to run tests

Open boakley opened this issue 11 years ago • 3 comments

It should be possible to run tests via the hub. My first thought is to support the following API

POSTing to /api/job should create a new job and return an ID. It would require a JSON dictionary defining things such as command line options and working directory.

GET /api/job/ returns JSON information about a running job. Visiting the web page /jobs should show a list of running and completed jobs, with links to /job/ (and/or /job//report.html and/or /report/job-id).

Visiting /job//console could show the console output from the job

One open question is, should "/job" refer to the running of a test, or could it be used for all sorts of things (eg: running lint)? ie: /job for everything, or /job/pybot, /job/lint, etc. ? e.g. /job/pybot?cwd="/whatever"&args="-A,/whatever/conf/default.args,mysuite.root"?

boakley avatar Jun 13 '14 19:06 boakley

see https://github.com/boakley/robotframework-hub/wiki/Running-tests-via-the-hub for more thoughts on the matter

boakley avatar Sep 18 '14 16:09 boakley

Hi,

is this still a planned feature?

It would be really nice to schedule test runs and view the results in the browser.

imiric avatar Jul 04 '16 13:07 imiric

It is something I hope to accomplish, but it's not something I'm actively working on right now.

On Mon, Jul 4, 2016 at 8:36 AM, Ivan Mirić [email protected] wrote:

Hi,

is this still a planned feature?

It would be really nice to schedule test runs and view the results in the browser.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/boakley/robotframework-hub/issues/3#issuecomment-230292462, or mute the thread https://github.com/notifications/unsubscribe/ABEmYkRjnsg01jgJlmm0hBLRbY6yGuGtks5qSQxrgaJpZM4CEIaP .

boakley avatar Aug 03 '16 17:08 boakley