Company
Date Published
Author
Adam Goucher
Word count
495
Language
English
Hacker News points
None

Summary

Robot Framework is being integrated with Sauce OnDemand to enable the definition and execution of acceptance criteria in an Acceptance Test Driven Development (ATDD) realm. The integration allows for seamless testing in both local environments and cloud-based Sauce Labs, using a variable file to decide whether to run locally or in the cloud. A custom JSON string is created to send to Sauce Labs, with variables such as username, access key, operating system, browser, and browser version being set based on user input. The integration provides flexibility for testing different permutations of these parameters, but this would require a custom runner. The script can be easily switched between local and cloud-based environments by providing the `--ondemand=true` argument, allowing for efficient management of test automation and sharing of results with stakeholders.