boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
169 stars 60 forks source link

Add ability to run tests #3

Open boakley opened 10 years ago

boakley commented 10 years ago

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 commented 9 years ago

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

imiric commented 8 years ago

Hi,

is this still a planned feature?

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

boakley commented 8 years ago

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ć notifications@github.com 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 .