qentinelqi / qweb

Keyword driven automation for the web
https://github.com/qentinelqi/qweb
Apache License 2.0
40 stars 17 forks source link

http serverless execution of acceptance tests #151

Closed turunenm closed 6 months ago

turunenm commented 6 months ago

When running tests outside of gh actions or local duty, it's easier to use the http files directly from the file system instead of an http server.

Added __init__.robot fle into tests/acceptance directory which checks a global variable ${ON_HTTP_SERVER} (defaults to False) which tells if the tests will be run on http server and then sets a base URI accordingly for the test cases