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
610
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.1k
試して学ぶ数式項目・入力規則 / Salesforce Formulas and Validation Rules Hands on
shunkosa
3
1.1k
はじめてのCommunity Cloudデータセキュリティ / Community Cloud Data Sharing Basic
shunkosa
1
890
Lightning Web ComponentでチャットのUIをカスタマイズしよう / Enhance Chat UI with LWC
shunkosa
0
1k
JP Salesforce SAML SSO for Beginners
shunkosa
0
840
Schedule Your Process Without Coding
shunkosa
0
550
Service Cloud Omni-Channel Basics and New Features
shunkosa
0
760
Other Decks in Technology
See All in Technology
ユーザーストーリーのレビューを自動化したみたの
bun913
1
410
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
240
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
160
JAWS-UG Bedrock Claude Night
yamahiro
3
550
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
1k
私が trocco を推す理由
__allllllllez__
1
210
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
470
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.4k
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
0
150
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
370
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
880
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
190
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
KATA
mclloyd
15
12k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Making Projects Easy
brettharned
108
5.5k
Designing the Hi-DPI Web
ddemaree
276
33k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
The Invisible Side of Design
smashingmag
294
49k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Faster Mobile Websites
deanohume
299
30k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.5k
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