+ All Categories
Home > Education > How does Java 8 exert hidden power on Test Automation?

How does Java 8 exert hidden power on Test Automation?

Date post: 03-Mar-2017
Category:
Upload: sergey-korol
View: 235 times
Download: 0 times
Share this document with a friend
15
HOW DOES JAVA 8 EXERT HIDDEN POWER ON TEST AUTOMATION?
Transcript
Page 1: How does Java 8 exert hidden power on Test Automation?

HOW DOES JAVA 8EXERT HIDDEN POWERON TEST AUTOMATION?

Page 2: How does Java 8 exert hidden power on Test Automation?

WHO AM I?

QAA Geek and Java fan with over seven years experiencein Software Testing. AT.INFO

contributor and editor. Consultant, mentor and

speaker.

• Position: Lead QAA Engineer• Consultant and mentor: http://sdclabs.com• Editor and moderator: http://automated-testing.info• Certified ISTQB engineer

Speaker’s info

• GitHub: sskorol• Blog posts: http://qa-automation-notes.blogspot.com

https://sskorol.github.io

Contributions

• Email: [email protected]• LinkedIn: https://ua.linkedin.com/in/serhiikorol

Contacts ’’Sergey KorolWaverley Software

‘‘

2

Page 3: How does Java 8 exert hidden power on Test Automation?

3

...and I should care,why?

3

Page 4: How does Java 8 exert hidden power on Test Automation?

4

...and i should care,why?

4

Page 5: How does Java 8 exert hidden power on Test Automation?

5

...and i should care,why?

5

Page 6: How does Java 8 exert hidden power on Test Automation?

TALK’S SCOPE • switch vs if / else vs … ?• Matchers

Pattern matching

• Code duplication cleanup• Explicit waits simplification

Lambda expressions / functional interfaces

• Plain old loops redundancy• Elements transformation and filtering• Collection reduction• Tuples in DataProviders

Streams

6

Page 7: How does Java 8 exert hidden power on Test Automation?

7

Page 8: How does Java 8 exert hidden power on Test Automation?

Pattern matching

8

Page 9: How does Java 8 exert hidden power on Test Automation?

9

Page 10: How does Java 8 exert hidden power on Test Automation?

LAMBDA EXPRESSIONS /FUNCTIONAL INTERFACES

10

Page 11: How does Java 8 exert hidden power on Test Automation?

11

Page 12: How does Java 8 exert hidden power on Test Automation?

12

...and i should care,why?

STREAMS

LOOPSELIMINATION

12

Page 13: How does Java 8 exert hidden power on Test Automation?

13

Page 14: How does Java 8 exert hidden power on Test Automation?

Everybody in this countryshould learn to programa computer…

 …because it teaches you how to think

 Steve Jobs14

Page 15: How does Java 8 exert hidden power on Test Automation?

FIND OUT MORE

LiteratureAuthor

15


Recommended