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
720
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.3k
JP Salesforce SAML SSO for Beginners
shunkosa
0
1k
Schedule Your Process Without Coding
shunkosa
0
620
Service Cloud Omni-Channel Basics and New Features
shunkosa
0
900
Other Decks in Technology
See All in Technology
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
190
Godot Engineについて調べてみた
unsoluble_sugar
0
410
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
140
生成AIのビジネス活用
seosoft
0
110
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
200
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
160
Goで実践するBFP
hiroyaterui
1
120
20250116_JAWS_Osaka
takuyay0ne
2
200
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
7.7k
AWS re:Invent 2024 re:Cap Taipei (for Developer): New Launches that facilitate Developer Workflow and Continuous Innovation
dwchiang
0
170
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.4k
When Windows Meets Kubernetes…
pichuang
0
310
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
693
190k
4 Signs Your Business is Dying
shpigford
182
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
Code Review Best Practice
trishagee
65
17k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Scaling GitHub
holman
459
140k
Why Our Code Smells
bkeepers
PRO
335
57k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
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