Grail: шаги для ваших Python-тестов

Download Grail: шаги для ваших Python-тестов

Post on 16-Jul-2015

2.661 views

Category:

Software

1 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>Grail: Python- </p><p> QA Automation Team Lead </p><p>Wargaming.NET </p></li><li><p> QA Automation Team Lead </p><p>Wargaming.NET 9 , , , </p><p>, 12- www.khroliz.com </p></li><li><p>- </p></li><li><p>JIRA-1 Created </p><p>JIRA-2 Created </p><p>JIRA-3 Created </p></li><li><p> Resolved </p><p> JIRA-1 </p><p>Created </p><p>JIRA-2 Created </p><p>JIRA-3 Created </p><p>JIRA-1 Resolved </p><p>JIRA-2 Resolved </p><p>JIRA-3 Resolved </p></li><li><p> , </p></li><li><p> , </p></li><li><p> QA- , </p></li><li><p> -, , </p></li><li><p> 2 1 </p><p> , </p><p> 5 4 3 </p><p> 1 </p></li><li><p> 2 1 </p><p> , ! </p><p> 5 4 3 </p></li><li><p> , ! </p></li><li><p> , ! </p><p>https://github.com/wgnet/grail </p></li><li><p> ? </p></li><li><p>Grail </p></li><li><p>Grail </p><p>@step - , </p></li><li><p>: Thucydides (Java) </p><p>http://www.thucydides.info/ </p></li><li><p>: Allure </p><p>http://allure.qatools.ru/ </p></li><li><p>: Allure </p><p>http://allure.qatools.ru/ </p><p>- Grail </p></li><li><p> ? </p></li><li><p> QA </p></li><li><p> QA </p></li><li><p> QA </p><p> Auto QA </p></li><li><p> QA </p><p> Auto QA </p></li><li><p>Test Case vs Test Script Step 1: login to application def login_to_application(): </p><p>Step 2: verify user is logged in def verify_user_is_logged_in(): </p><p>Step 3: do some important thing def do_some_important_thing(): </p></li><li><p>Test Case vs Test Script Step 1: login to application def login_to_application(): </p><p>Step 2: verify user is logged in def verify_user_is_logged_in(): </p><p>Step 3: do some important thing def do_some_important_thing(): </p><p>- .. </p></li><li><p>Test Case vs Test Script Step 1: login to application def login_to_application(): </p><p>Step 2: verify user is logged in def verify_user_is_logged_in(): </p><p>Step 3: do some important thing def do_some_important_thing(): </p><p>- .. </p></li><li><p>Test Case vs Test Script Step 1: login to application def login_to_application(): </p><p>Step 2: verify user is logged in def verify_user_is_logged_in(): </p><p>Step 3: do some important thing def do_some_important_thing(): </p><p>- .. </p></li><li><p> ? </p><p> - ! </p><p>QA </p></li><li><p> ? </p><p> - ! </p><p>QA </p></li><li><p> ? </p><p> - ! </p><p>QA Auto QA </p></li><li><p> ? </p><p> - ! </p><p>QA Auto QA </p></li><li><p> QA </p></li><li><p> QA </p><p> BDD-style, Keyword Driven </p></li><li><p>export_mode = True </p><p> , </p></li><li><p>export_mode = True </p><p> , </p><p> , </p></li><li><p>export_mode = True </p><p> export_mode passed </p></li><li><p> CI </p></li><li><p>export_mode = True output export_mode - &gt;&gt; some actions </p><p>&gt;&gt; verify result correctness (4) </p></li><li><p>export_mode = True output export_mode - &gt;&gt; some actions </p><p>&gt;&gt; verify result correctness (4) </p><p> Test Management System! </p></li><li><p>Grail ! </p></li><li><p> ! </p><p> , </p></li><li><p>step_group </p></li><li><p>step_group </p></li><li><p>description </p><p>PASSED login to application </p><p>PASSED Some tricky actions with the application which I can't put to method name </p></li><li><p>format_description </p><p>PASSED Some info: value, another info: kw_value </p><p> value </p><p> kw_value </p><p> 100500 </p></li><li><p> fixtures </p><p> - </p><p> setup_package (_module, _class) </p><p> teardown_package (_module, _class) </p><p> teardown </p></li><li><p> fixtures </p><p> - </p><p> setup_package (_module, _class) </p><p> teardown_package (_module, _class) </p><p> teardown </p><p> : setup </p></li><li><p>treat_nested_steps_as_methods </p><p>PASSED external step </p></li><li><p>log_output </p><p>PASSED log output -&gt; Important output </p><p>PASSED do not log output </p></li><li><p> Grail </p></li><li><p> Grail </p></li><li><p> Grail </p><p> ! </p></li><li><p> Grail </p><p> ! </p></li><li><p> Grail </p><p> ! </p><p> (BDD) Keyword-driven! </p></li><li><p> Grail </p><p> ! </p><p> (BDD) Keyword-driven! </p><p> Continuous Integration </p></li><li><p> Grail </p><p> ! </p><p> (BDD) Keyword-driven! </p><p> Continuous Integration </p></li><li><p>! Q&amp;A </p><p>: https://github.com/wgnet/grail http://wgnet.github.io/grail/ https://pypi.python.org/pypi/grail </p><p>: i_khrol@wargaming.net khroliz@gmail.com skype: igor.khrol http://www.khroliz.com </p></li></ul>