How does Java 8 exert hidden power on Test Automation?
-
Upload
sergey-korol -
Category
Education
-
view
235 -
download
0
Transcript of How does Java 8 exert hidden power on Test Automation?
![Page 1: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/1.jpg)
HOW DOES JAVA 8EXERT HIDDEN POWERON TEST AUTOMATION?
![Page 2: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/2.jpg)
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?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/3.jpg)
3
...and I should care,why?
3
![Page 4: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/4.jpg)
4
...and i should care,why?
4
![Page 5: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/5.jpg)
5
...and i should care,why?
5
![Page 6: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/6.jpg)
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?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/7.jpg)
7
![Page 8: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/8.jpg)
Pattern matching
8
![Page 9: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/9.jpg)
9
![Page 10: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/10.jpg)
LAMBDA EXPRESSIONS /FUNCTIONAL INTERFACES
10
![Page 11: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/11.jpg)
11
![Page 12: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/12.jpg)
12
...and i should care,why?
STREAMS
LOOPSELIMINATION
12
![Page 13: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/13.jpg)
13
![Page 14: How does Java 8 exert hidden power on Test Automation?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/14.jpg)
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?](https://reader036.fdocuments.us/reader036/viewer/2022062822/58b8a3ed1a28abc06d8b5a01/html5/thumbnails/15.jpg)
FIND OUT MORE
LiteratureAuthor
15