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
810
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing Lightning Flow
2018/10/02
@ Tokyo Salesforce Developer Group
Lightning FlowのApexテストとカバレッジについて
Shun Kosaka
October 30, 2018
More Decks by Shun Kosaka
See All by Shun Kosaka
プロセスビルダーの設計書を生成しよう / Document Your Process
shunkosa
0
1.8k
試して学ぶ数式項目・入力規則 / Salesforce Formulas and Validation Rules Hands on
shunkosa
3
1.5k
はじめてのCommunity Cloudデータセキュリティ / Community Cloud Data Sharing Basic
shunkosa
1
1.3k
Lightning Web ComponentでチャットのUIをカスタマイズしよう / Enhance Chat UI with LWC
shunkosa
0
1.7k
JP Salesforce SAML SSO for Beginners
shunkosa
0
1.2k
Schedule Your Process Without Coding
shunkosa
0
690
Service Cloud Omni-Channel Basics and New Features
shunkosa
0
1k
Other Decks in Technology
See All in Technology
noUncheckedIndexedAccess、3時間、1万円。 / noUncheckedIndexedAccess, 3 Hours, 10,000 JPY.
kaonavi
1
300
Databricks における 生成AIガバナンスの実践
taka_aki
1
320
コードレビューを制するチームがソフトウェアデリバリーのフローを制す / Beyond Code Review: Distributing Its Responsibilities Across the SDLC
mtx2s
4
1.1k
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
1
340
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
Claude Code×Terraform IaC テンプレート駆動開発
itouhi
1
330
運用を見据えたAIエージェント設計実践
amacbee
1
2.9k
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
180
Claude Codeを組織で使いこなす— サーバサイドAIエージェント運用の実践知
techtekt
PRO
0
200
地元にいないローカルオーガナイザーの立ち回り
uvb_76
1
470
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.9k
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
2.6k
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
How GitHub (no longer) Works
holman
316
150k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
600
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
130
AI: The stuff that nobody shows you
jnunemaker
PRO
8
690
Building a Scalable Design System with Sketch
lauravandoore
463
34k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Embracing the Ebb and Flow
colly
88
5.1k
Un-Boring Meetings
codingconduct
0
310
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