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
Unit Testing
Search
Göksel Köksal
December 26, 2018
0
83
Unit Testing
(NSAnkara 2018)
Göksel Köksal
December 26, 2018
Tweet
Share
More Decks by Göksel Köksal
See All by Göksel Köksal
iOS Software Architectures
gokselkoksal
0
500
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
It's Worth the Effort
3n
184
28k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
Embracing the Ebb and Flow
colly
84
4.6k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
GraphQLとの向き合い方2022年版
quramy
44
13k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Building Applications with DynamoDB
mza
93
6.2k
YesSQL, Process and Tooling at Scale
rocio
171
14k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Code Review Best Practice
trishagee
66
17k
Transcript
Unit Tes)ng
! "Bizim sektör ile futbol aşırı derecede benzerlik gösteriyor. Mesela
futbol yorumcuları herşeyi biliyorlar ama takım çalış>rmıyorlar, neden? Çünkü sorumluluk var, çünkü konuşmakla yapmak farklı, çünkü adamın göZünü keserler. Herkes clean code, herkes test yazıyor, herkes biliyor..." — Twi&er
Unit test nedir? • Fonksiyon: func sum(_ numbers: Int...) {
... } • Test: let actual = sum(1, 2) let expected = 3 XCTAssertEqual(actual, expected)
None
! "Kullanıcının uygulamaya bir önceki girişi 24 saa7en önce ise
ana sayfayı tekrar yükle."
! "Kullanıcı başka bir ülkeye seyahat e5ğinde döviz kurunu bildirim
olarak göster."
None
Manuel Test
Demo
! youtube.com/ LateNightMuhabbetleri
Göksel Köksal github.com/gokselkoksal medium.com/@gokselkoksal theswi5post.co twi7er.com/gokselkk
Kod github.com/gokselkoksal/ Presenta6on-UnitTes6ng