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
Spek2 alpha1を動かしてみる
Search
Ryo Sakaguchi
August 18, 2018
Programming
0
300
Spek2 alpha1を動かしてみる
~海辺でもくもく~集まれKotlin好き!Kotlin愛好会 vol3
Ryo Sakaguchi
August 18, 2018
Tweet
Share
More Decks by Ryo Sakaguchi
See All by Ryo Sakaguchi
Android Architecture Componentsを使って、改善・効率化するAndroidアプリ開発
wakwak3125
0
1.2k
Test multiple APKs with Robolectric
wakwak3125
0
680
Clip, Elevation and ViewOutlineProvider
wakwak3125
1
1.1k
WebView as Fancy and effective View
wakwak3125
1
1.4k
ViewPager2をちょっとさわってみよう
wakwak3125
0
1.5k
年末だし、振り返るKotlin
wakwak3125
1
970
社内ライブラリのアップデートフロー
wakwak3125
4
3.6k
Wantedly Peopleのリリースフロー
wakwak3125
1
4.4k
KOINかわいいよ、KOIN
wakwak3125
0
840
Other Decks in Programming
See All in Programming
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
110
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
600
Flatt Security XSS Challenge 解答・解説
flatt_security
0
740
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
290
為你自己學 Python
eddie
0
520
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
190
rails newと同時に型を書く
aki19035vc
5
710
Оптимизируем производительность блока Казначейство
lamodatech
0
960
Featured
See All Featured
Navigating Team Friction
lara
183
15k
A Tale of Four Properties
chriscoyier
157
23k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Typedesign – Prime Four
hannesfritz
40
2.5k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
3
180
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
The World Runs on Bad Software
bkeepers
PRO
66
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Mobile First: as difficult as doing things right
swwweet
222
9k
Why Our Code Smells
bkeepers
PRO
335
57k
Transcript
2018.8.18 - ©2018 Wantedly, Inc. 4QFLBMQIB Λಈ͔ͯ͠ΈΔ dւลͰ͘͘dू·Ε,PUMJO͖ʂ,PUMJOѪձWPM 3ZP4BLBHVDIJ !XBLXBL
ϖʔδλΠτϧ ϖʔδαϒλΠτϧ ©2018 Wantedly, Inc. ݁Ռ
ϖʔδλΠτϧ ϖʔδαϒλΠτϧ ©2018 Wantedly, Inc. ͏͍ͨ͝ʂ
©2018 Wantedly, Inc.
©2018 Wantedly, Inc.
©2018 Wantedly, Inc. ηοτΞοϓ
©2018 Wantedly, Inc. buildscript { ext.kotlin_version = ‘1.2.60' ext.android_junit5_version= '1.2.0.0'
repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.0-beta05' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "de.mannodermaus.gradle.plugins:android-junit5:$android_junit5_version" } } allprojects { repositories { google() jcenter() maven { url "https://dl.bintray.com/spekframework/spek-dev" } } }
©2018 Wantedly, Inc. apply plugin: “de.mannodermaus.android-junit5" android { testOptions {
junitPlatform { filters { engines { include 'spek2' } } } } } def spek_version='2.0.0-alpha.1' def junit5_runner='0.2.2' dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version" testImplementation "org.spekframework.spek2:spek-dsl-jvm:$spek_version" testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:$spek_version" androidTestRuntimeOnly "de.mannodermaus.junit5:android-instrumentation-test-runner:$junit5_runner" }
©2018 Wantedly, Inc. 4QFLͱॻ͖ํҧ͏ʁ w ଟͦΜͳʹมΘΒͳ͍ w EFTDSJCF JU
w HJWFO͕ݟͨΒͳ͍ ͪΌΜͱಈ͘ʁ w งғؾಈ͍ͯΔ w "OESPJE4UVEJPͷϓϥάΠϯಈ͔ͳ͔ͬͨ w ࠓ·Ͱ+VOJUͰॻ͍ͯͨςετͱͷಉډઃఆ͕ඞཁ ͱΓ͋͑ͣಈ͍ͨ
©2018 Wantedly, Inc. 1MVHJOͷͳ͠
©2018 Wantedly, Inc. https://github.com/spekframework/spek/issues/452 https://github.com/spekframework/spek/issues/464 Pluginͷ
ϖʔδλΠτϧ ϖʔδαϒλΠτϧ ©2018 Wantedly, Inc. <·͊alpha͠ͳ… Pluginͷͳ͠
©2018 Wantedly, Inc. ڞଘͷͳ͠
©2018 Wantedly, Inc. apply plugin: “de.mannodermaus.android-junit5" android { testOptions {
junitPlatform { filters { engines { include 'spek2' } } } } } def spek_version='2.0.0-alpha.1' def junit5_runner='0.2.2' dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version" testImplementation "org.spekframework.spek2:spek-dsl-jvm:$spek_version" testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:$spek_version" androidTestRuntimeOnly "de.mannodermaus.junit5:android-instrumentation-test-runner:$junit5_runner" }
©2018 Wantedly, Inc. apply plugin: “de.mannodermaus.android-junit5" android { testOptions {
junitPlatform { filters { engines { include ‘spek2’,‘junit-vintage’ } } } } } def spek_version='2.0.0-alpha.1' def junit5_runner='0.2.2' dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' testImplementation 'junit:junit:4.12' testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version" testImplementation "org.spekframework.spek2:spek-dsl-jvm:$spek_version" testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:$spek_version" testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.2.0" androidTestRuntimeOnly "de.mannodermaus.junit5:android-instrumentation-test-runner:$junit5_runner" }
ϖʔδλΠτϧ ϖʔδαϒλΠτϧ ©2018 Wantedly, Inc. ͓ΘΓ IUUQTHJUIVCDPNXBLXBL-FBSO4QFL