Ui qa tools

43
UI QA tools @agomezmoron

Transcript of Ui qa tools

Page 1: Ui qa tools

UI QA tools

@agomezmoron

Page 2: Ui qa tools

Hello!I am Alejandro Gómez

QA & Tech lover (Selenium, Java, TypeScript, Drupal, Ionic, AngularJS, Gulp…)

I work at @Emergya and @EPSUPO / @SevillaQA organizer.

I am passionate about challenges and I hate repeating processes!

You can find me at:@agomezmoron

Page 3: Ui qa tools

What is our aim?Share knowledge about #QA

Page 4: Ui qa tools

Roadmap✖ Introduction

✖ What is UI quality for you?

✖ UI Quality

✖ Tools to automate!

✖ Demo

Page 5: Ui qa tools

Do we really need it?I think you are exaggerating...

Page 6: Ui qa tools

Front-end guys NEVER break things

Page 7: Ui qa tools

Front-end guys NEVER break things

Page 8: Ui qa tools

Front-end guys NEVER break things

Page 9: Ui qa tools

Everybody breaks things

✖ But they don’t always break things!

✖ We need to focus and detect when something is broken.

Page 10: Ui qa tools

Untold number of errorsMinor changes can be more dangerous than

big ones

Page 11: Ui qa tools

Early testing habitYou can feel counterproductive. But it can have long-term benefits.

Little and oftenThe Big Test approach creates more work than it saves.Small steps forward are still steps.

Test as you goIdentifying problems and bugs as early in the

process as possible.

Page 12: Ui qa tools

UI Quality Ensuring the UI Quality is not only

checking it looks great

Page 13: Ui qa tools

What is ui quality for you?This definition matters....

Page 14: Ui qa tools

UI Quality1) Code Quality

● Use code linters.

● For HTML, JS, TS and CSS.

Page 15: Ui qa tools

1) Code Quality

UI Quality

● htmlint● gulp-html5-lint ● htmlhint● htmlhint-stylish

Page 16: Ui qa tools

1) Code Quality

UI Quality

● stylelint● CSSLint● stylelint-scss● stylelint-config-sass-guidelines● parker● scss-lint

Page 17: Ui qa tools

1) Code Quality

UI Quality

● JSHint● JSCS● Plato

Page 18: Ui qa tools

1) Code Quality

UI Quality

● ESLint● TSLint

Page 19: Ui qa tools

UI Quality2) Look & Feel Quality

● Does the app look as it was designed?

● Do we have differences between the design and the

implementation?

Page 20: Ui qa tools

2) Look & Feel Quality

UI Quality

Paid

Open Source

Page 21: Ui qa tools

UI Quality3) Functional Testing

● Test in different browsers/OS.

● Maintaining your own set of browsers and devices to

test on can be a big drain on time and money!

● Cloud testing services.

Page 22: Ui qa tools

UI Quality3) Functional Testing

450+ browser/OS/device/platform combinations.

1000+ desktop browsers

Page 23: Ui qa tools

UI Quality4) Performance Testing

● Users cannot be waiting to have our website loaded.

● Maybe it works for a single user, what about

simulating our estimate/real visit rate?

Page 24: Ui qa tools

UI Quality4) Performance Testing

Page 25: Ui qa tools

Place your screenshot here

You can automate!

Page 26: Ui qa tools

Tools to Automate!1) Code Quality

+

Page 27: Ui qa tools

Place your screenshot here

MIT License

natete/matrix-angular-gulp

Page 28: Ui qa tools

MIT License

agomezmoron/docker-gulp

Page 29: Ui qa tools

2) Look & Feel Quality

Tools to Automate!

mozilla / geckodriver

Page 30: Ui qa tools

MIT License

agomezmoron/galen-framework-js-project-structure

✖ Standard structure.✖ Parametrized.✖ Desktop / Tablet / Phablet / Phone

support.✖ ~ 60 defined devices.

Page 31: Ui qa tools

Tools to automate3) Functional Testing

Selenium PhantomJS Webdriver.io

Page 32: Ui qa tools

Tools to automate!4) Performance Testing

Page 33: Ui qa tools
Page 34: Ui qa tools
Page 35: Ui qa tools

Let’s play together!

Page 36: Ui qa tools
Page 37: Ui qa tools

Don’t be the same,Be better!

Page 38: Ui qa tools

Quality begins on the inside... then works its

way out. Doreen Virtue

Page 39: Ui qa tools

People forget how fast you did a job – but they remember

how well you did itHoward Newton

Page 40: Ui qa tools

referencesSpecial thanks to all the people who shared their knowledge:

✖ SlideCarnival’s team for this awesome template

✖ How to lint SCSS with stylelint - Brett Jankord http://bit.ly/2m3XkSp

✖ Responsive Testing with Galen

http://hypery2k.github.io/presentations/galen_workshop/en.html#/

Page 41: Ui qa tools

Questions?

Page 42: Ui qa tools

March 21 - 25 - Isla Mágica - #DrupalDevDays

Page 43: Ui qa tools

Thanks!

@sevillaqa