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
290
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
670
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
960
社内ライブラリのアップデートフロー
wakwak3125
4
3.5k
Wantedly Peopleのリリースフロー
wakwak3125
1
4.4k
KOINかわいいよ、KOIN
wakwak3125
0
830
Other Decks in Programming
See All in Programming
Beyond ORM
77web
7
950
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
5
720
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
510
103 Early Hints
sugi_0000
1
230
Haze - Real time background blurring
chrisbanes
1
510
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
140
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
280
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
230
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
335
57k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Unsuck your backbone
ammeep
669
57k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Automating Front-end Workflow
addyosmani
1366
200k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Gamification - CAS2011
davidbonilla
80
5.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
The Invisible Side of Design
smashingmag
298
50k
Site-Speed That Sticks
csswizardry
2
190
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