Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Testing Lightning Flow
Search
Shun Kosaka
October 30, 2018
Technology
0
710
Testing Lightning Flow
2018/10/02
@ Tokyo Salesforce Developer Group
Lightning FlowのApexテストとカバレッジについて
Shun Kosaka
October 30, 2018
Tweet
Share
More Decks by Shun Kosaka
See All by Shun Kosaka
プロセスビルダーの設計書を生成しよう / Document Your Process
shunkosa
0
1.4k
試して学ぶ数式項目・入力規則 / Salesforce Formulas and Validation Rules Hands on
shunkosa
3
1.3k
はじめてのCommunity Cloudデータセキュリティ / Community Cloud Data Sharing Basic
shunkosa
1
1.1k
Lightning Web ComponentでチャットのUIをカスタマイズしよう / Enhance Chat UI with LWC
shunkosa
0
1.2k
JP Salesforce SAML SSO for Beginners
shunkosa
0
1k
Schedule Your Process Without Coding
shunkosa
0
610
Service Cloud Omni-Channel Basics and New Features
shunkosa
0
890
Other Decks in Technology
See All in Technology
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
530
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
170
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
220
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
3
2.3k
生成AIのガバナンスの全体像と現実解
fnifni
1
190
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
300
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
110
2024年にチャレンジしたことを振り返るぞ
mitchan
0
140
Featured
See All Featured
Being A Developer After 40
akosma
87
590k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
What's in a price? How to price your products and services
michaelherold
243
12k
The Cult of Friendly URLs
andyhume
78
6.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
A Philosophy of Restraint
colly
203
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Facilitating Awesome Meetings
lara
50
6.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Agile that works and the tools we love
rasmusluckow
328
21k
Transcript
Lightning FlowΛςετ͢Δ 2018/10/30 Tokyo Salesforce Developer Group Meetup #19 Shun
Kosaka | Accenture Japan | @shunkosa
Lightning Flow in Winter ‘19 • ϓϩηεϑϩʔΛ༗ޮͳ··σϓϩΠͰ͖Δ Ŗ CIͱͷੑ Ŗ
ΧόϨοδ͕75%Ҏ্ඞཁ Ŗ ରϓϩηεͱࣗಈ࣮ߦϑϩʔ • ϓϩηεϑϩʔͷΧόϨοδΛ֬ೝͰ͖Δ
Lightning FlowͷΧόϨοδ • 'MPX5FTU$PWFSBHF - "QFYςετϝιου୯ҐͰΧόʔ͞ΕΔϑϩʔཁૉͷׂ߹ Χόʔ͞Εͨཁૉ Χόʔ͞Ε͍ͯͳ͍ཁૉ ΧόϨοδ
Lightning Flowͷςετίʔυ • ϑϩʔ @isTest static void testFlow(){ Map<String, Object>
flowInputs = new Map<String, Object>{‘AccountId’ => myAcc}; Flow.Interview.calculator myFlow = new Flow.Interview.calculator(flowInputs); myFlow.start(); System.assertEquals(myFlow.Discount, 10); } • ϓϩηε - τϦΨʔͱಉ༷
Lightning Flowͷ͜Ε͔Β • AppExchangeʹFlow Solutions (Winter ‘19) • Flow Builder͕FLASH
(Spring ‘19) • Apexͱ͍͘͢ͳͬͨLightning Flow͕ೖΓަ͡Δ - ඞཁʹԠͯ͡Lightning FlowςετΛॻ͜͏ʂ
ࢀߟϦϯΫ • Winter’19 ϦϦʔεϊʔτ : Lightningϑϩʔ - https://releasenotes.docs.salesforce.com/ja- jp/winter19/release-notes/rn_forcecom_flow.htm •
Apex։ൃऀΨΠυ : Flow.InterviewΫϥε - https://developer.salesforce.com/docs/atlas.ja- jp.apexcode.meta/apexcode/flow_interview_class.htm • Tooling API։ൃऀΨΠυ : FlowTestCoverage - https://developer.salesforce.com/docs/atlas.en- us.api_tooling.meta/api_tooling/tooling_api_objects_flowtestcov erage.htm