+ All Categories
Home > Documents > INTRODUCTION TO TDD - Nikola Brežnjak Ionic Framework Nikola Brežnjak, M.Sc EXPECT UNEXPECTED THE...

INTRODUCTION TO TDD - Nikola Brežnjak Ionic Framework Nikola Brežnjak, M.Sc EXPECT UNEXPECTED THE...

Date post: 22-May-2018
Category:
Upload: trinhdat
View: 214 times
Download: 0 times
Share this document with a friend
25
1 TDD In Ionic Framework Nikola Brežnjak, M.Sc EXPECT THE UNEXPECTED INTRODUCTION TO
Transcript

1

TDDIn Ionic Framework

Nikola Brežnjak, M.Sc

EXPECT

THEUNEXPECTED

INTRODUCTION TO

2

Do you test your code?

3

Do you test your code?<rhetorical-question>

</rhetorical-question>

4

CLTDD

5

Console.Log TDD

6

7

8

9

10

AGENDAwait, you said this will be a short presentation!?

Your Title Here Company members share

a common

Your Title Here Company members share

a common

01 Theory 02 Examples

11

What is TDD?Test Driven Development, duh!?

12

Unit Testing !== TDDYou don’t say, Sherlock

13

14

15

16

17COMMON MISCONCEPTIONSso we make sure my.getCurrPage() == your.getCurrPage()

02

0306

01

05 04

You Can’t Write Tests Until You Know the Design

ALWAYS Refactor?

Write all tests before any code?

Time Consuming

No #6

Unit test all the things

18

19

PREREQUISITESCan’t have a car without a driver. Oh, wait!, it’s 2016!

20

21

describe [thing]it should [do sth]

BDD style

22

23

24

TAKE THE RED PILL

25


Recommended