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
340
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
740
Clip, Elevation and ViewOutlineProvider
wakwak3125
1
1.2k
WebView as Fancy and effective View
wakwak3125
1
1.5k
ViewPager2をちょっとさわってみよう
wakwak3125
0
1.6k
年末だし、振り返るKotlin
wakwak3125
1
1k
社内ライブラリのアップデートフロー
wakwak3125
4
3.7k
Wantedly Peopleのリリースフロー
wakwak3125
1
4.5k
KOINかわいいよ、KOIN
wakwak3125
0
920
Other Decks in Programming
See All in Programming
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
290
「App Intent」よくわからんけどすごい!
rinngo0302
1
130
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
0
470
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
6
1.2k
The Modern View Layer Rails Deserves: A Vision For 2025 And Beyond @ RailsConf 2025, Philadelphia, PA
marcoroth
2
790
AI Ramen Fight
yusukebe
0
110
Caude codeで爆速開発
codelynx
0
100
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
270
階層化自動テストで開発に機動力を
ickx
1
420
AI コーディングエージェントの時代へ:JetBrains が描く開発の未来
masaruhr
2
210
What's new in AppKit on macOS 26
1024jp
0
170
React は次の10年を生き残れるか:3つのトレンドから考える
oukayuka
40
15k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Designing for humans not robots
tammielis
253
25k
The Cult of Friendly URLs
andyhume
79
6.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
282
13k
How to Ace a Technical Interview
jacobian
278
23k
A designer walks into a library…
pauljervisheath
207
24k
We Have a Design System, Now What?
morganepeng
53
7.7k
Making Projects Easy
brettharned
116
6.3k
Code Review Best Practice
trishagee
69
19k
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