22. 22
開発の永続性と継続的テスト
? 開発の永続性
“Development and Deploy in Facebook”,
Facebook, 2013.
https://research.facebook.com/publications/247272798756913/development-and-deployment-at-facebook
? 継続的テスト
“Continuous Testing: The missing link in the
Continuous Delivery”, BlazeMeter, 2015.
https://blazemeter.com/blog/continuous-testing-missing-link-continuous-delivery-process
51. 51
CI in Test:Cucumber + PageObject design
Feature file: Behaviorを記述
Feature: Validation for registration Page
Background:
Given the user A is not registered in the system
and the end user opens RegistrationPage
when the user gives <userName> and <password> <mail> and submit the form
then the message shown in the page is <message>
Examples:
| userName | password | mail | message |
| “A” | “a” | “a.rakuten.com” | “registered” |
| “A“ | “a” | “a” | “invalid mail address” |
Public class RegstrationPage extends WebPageOjectBase {
final static public String NAME = “RegistrationPage”
public RegistrationPage() {
super(NAME, “registration.xxx.com”);
addInputElement(“username”,”username”);
….
}
PageObjectBase
テスト観点
file
PageObject file: 静的な仕様を記述
*APIやNodeも同じ仕組みで管理
操作手順
システムの
静的な仕様?設計
テスト観点
事前準備
期待値
テスト条件
80. 80
アジャイルテスト4象限:楽天での品質のテスト
?”Software System Architecture”. Rozanski Woods.
http://www.viewpoints-and-perspectives.info/home/perspectives/
?“System and Software Quality Requirements and Evaluation”
http://www.iso.org/iso/catalogue_detail.htm?csnumber=35733
Quality in User
Story format
Quality Analysis