SLIDE 11 10/29/19 ¡ 9 ¡
17 ¡ ¡| ¡Stabilizing ¡Con-nuous ¡Tes-ng ¡in ¡DevOps perfecto.io
Addi-onal ¡Categoriza-on ¡of ¡JavaScript ¡Browser ¡Tes-ng ¡Tools
Tools ¡that... ¡
- Provide ¡a ¡tes3ng ¡structure ¡(BDD/ATDD) ¡(Mocha, ¡Jasmine, ¡Jest, ¡Cucumber). ¡
- Provide ¡asser3on ¡func3ons ¡(Chai, ¡Jasmine, ¡Jest, ¡Unexpected). ¡
- Generate, ¡display, ¡and ¡watch ¡test ¡results ¡(Mocha, ¡Jasmine, ¡Jest, ¡Karma). ¡
- Generate ¡code ¡coverage ¡reports ¡(Istanbul, ¡Jest, ¡Blanket). ¡
- Provide ¡a ¡browser ¡or ¡browser-‑like ¡environment ¡with ¡control ¡of ¡scenario ¡execu3on, ¡UI ¡tes3ng, ¡and ¡more ¡
(Protractor, ¡Nightwatch, ¡Phantom, ¡Casper, ¡Selenium, ¡WebDriver.IO, ¡TestCafe). ¡
- Provide ¡mocks, ¡spies, ¡and ¡stubs ¡(Sinon, ¡Jasmine, ¡enzyme, ¡Jest, ¡testdouble). ¡
¡
Source: ¡Medium.com ¡ ¡
18 ¡ ¡| ¡Stabilizing ¡Con-nuous ¡Tes-ng ¡in ¡DevOps perfecto.io
High-‑Level ¡Comparison ¡Between ¡Tools ¡and ¡Prac-ces
Test ¡ Framework ¡ Supported ¡ Dev ¡ Languages ¡ Supported ¡ Browsers ¡ Supported ¡Test ¡ Frameworks ¡ Setup ¡and ¡ Execu;on ¡ Integra;ons ¡ Breadth ¡of ¡ Tes;ng ¡ Op;ons ¡ Maturity, ¡ Documenta;on, ¡ Support ¡ Required ¡Skillset ¡ Cloud ¡and ¡Execu;on ¡at ¡ Scale ¡ Selenium ¡ WebDriver ¡ Java, ¡C#, ¡Java ¡ Script, ¡ Python, ¡ Ruby, ¡ Objec3ve-‑C ¡ Chrome, ¡ Safari, ¡ Firefox, ¡ Edge, ¡IE ¡ Mocha ¡JS, ¡Jest, ¡
- ther ¡super ¡set ¡
- n ¡top ¡of ¡
Selenium ¡ (Protractor, ¡ WebDriverIO, ¡
Download ¡ relevant ¡driver, ¡ set ¡up ¡a ¡grid, ¡ network ¡and ¡ loca3on ¡ impacts ¡ execu3on ¡ speed ¡ Plenty ¡of ¡ integra3ons ¡ (CI, ¡CD, ¡ repor3ng, ¡ visual ¡tes3ng, ¡ cloud ¡vendors) ¡ End-‑to-‑ end, ¡ security, ¡ unit, ¡ ¡ Robust ¡community, ¡ mul3ple ¡bindings, ¡best ¡ prac3ces ¡ Coding ¡skills ¡required ¡ Perfecto ¡fully ¡supports ¡ Selenium ¡and ¡its ¡ WebDriver ¡
execu3on ¡requires ¡ sezng ¡up ¡a ¡Selenium ¡ grid ¡ Cypress.io ¡ JavaScript ¡ Chrome, ¡ Electron ¡ Mocha ¡JS ¡ Comes ¡with ¡ bundled ¡ chrome ¡ browser, ¡no ¡ complex ¡ environment ¡ setup ¡ Limited ¡ integra3ons ¡ End-‑to-‑ end ¡ Good ¡documenta3on ¡ and ¡code ¡sample, ¡ growing ¡community ¡ Coding ¡skills ¡required ¡ Built-‑in ¡Chrome ¡ browser, ¡limited ¡ Codeless ¡ Irrelevant, ¡ based ¡on ¡ record ¡and ¡ playback ¡ All ¡ Proprietary ¡UI ¡ with ¡underlying ¡ Selenium ¡ WebDriver ¡APIs ¡ Mostly ¡SaaS/ browser ¡plugin ¡ installa3on ¡ Limited ¡ Func3onal /UI ¡ Growing, ¡limited ¡ No ¡coding ¡skills ¡ required ¡ Perfecto ¡supports ¡ codeless ¡in ¡the ¡cloud ¡ BDD ¡ Java, ¡Ruby, ¡ JS, ¡Kotlin ¡ All ¡ Junit, ¡Selenium, ¡ Appium ¡ Open-‑Source, ¡ Maven/Gradle/ TestNG ¡ Plenty ¡+ ¡APIs ¡ (e.g. ¡Rest ¡ Assured) ¡ Func3onal ¡ Robust ¡community, ¡ docs, ¡adop3on ¡ Step-‑defini3on ¡ development ¡in ¡code ¡is ¡ required/scenarios ¡are ¡ no-‑code ¡ Perfecto ¡Quantum ¡is ¡a ¡ web/mobile ¡BDD ¡ framework ¡