Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Testing Experience

Team Vision, 2016

Agenda
1. Overview
2. Demo
3. Q&A

Why testing is so important?

https://jenkins-ci.org/blog/2013/09/05/extreme-feedback-lamp-switch-gear-style/

Why testing is so important?


Defense (feedback)
system

https://jenkins-ci.org/blog/2013/09/05/extreme-feedback-lamp-switch-gear-style/

Why testing is so important?

KTGR: 0 tests
HtmlFileManager: 63 tests
XEXPENSE: 267 tests
XRFL: 907 tests
DEPNOTICE: 948 tests

How to test effectively?

How to test effectively?


Module DEPNOTICE
Selenium tests: 251
Integration tests: 199
Unit tests: 398

Our problems and solutions


Unit test
Integration test
GUI test

Unit test
Bugs!!
Bugs!!
...
Oh no!!

Unit test

Applying TDD
Covering for Utility, DAO, Bean.
Reducing calling Ivy from Java
Using Hamcrest

Integration test
Services

DAOs

Controllers

Services
Ivy

Mock

Integration test
Using DbUnit to init real data
Using Ivy test runner to run on real ivy
environment
Running by Jenkins

GUI test

Browser drivers
OS versions
Low connection
Cost money

GUI test
Covering for GUI behavior such as validation
Building successfully: Selenium Grid worked
with Jenkins

Javascript test
Building successfully:
Karma & Jasmine worked
with Jenkins
Running like Selenium Grid

Demo

Demo

Q&A

Thank You!

You might also like