5 steps for successful automation with Hiptest
-
Upload
community-manager-hiptest -
Category
Software
-
view
113 -
download
2
Transcript of 5 steps for successful automation with Hiptest
WHAT WE BELIEVE INBDD
Refactoring
Continuous integration
SAMPLE PRESENTATIONNot a vanilla example
Real life use-case
About 200 tests and action words
More than 600 CI builds
ROADMAP TO CI INTEGRATION
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results
ROADMAP TO CI INTEGRATION
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results
it "Organization update" do load_coffee_machine_project create_organization_named_name("Hiptest") check_organization_name_exists("Hiptest") check_organization_has_count_users("2") remove_user_name_from_organization("john") check_organization_has_count_users("1") add_user_email_to_the_organization("[email protected]") check_organization_has_count_users("2") close_browsersend
ROADMAP TO CI INTEGRATION
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results
USING COMMAND LINE> gem install hiptest-publisher> hiptest-publisher --token=123456 --language=javascript
ROADMAP TO CI INTEGRATION
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results
ROADMAP TO CI INTEGRATION
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results
ROADMAP TO CI INTEGRATION
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results
Fetch tests before executionhiptest-publisher --tests-only --test-run-id=3054 -c hiptest-publisher.config
START AGAIN
1 - Create scenario
2 - Pull code
3 - Implement
4 - Add scenario to test run5 - Let CI push results