SlideShare a Scribd company logo
Spectacular Test Runner
for Javascript
CPSC 473-01 Lightning Talk By
Ketul Shah
Sayali Joshi
Introduction
 Built by AngularJS team By Vojta Jína
 A test runner to test your script across cross-browser environment
 Test framework agnostic test runner
 How it works?
 Spawns the web driver specified in its configuration file.
 Executes source code against test code for each connected browser.
Features
 Testing on real browsers
 Remote control
 Speed
 Integration with IDEs and text editors
 Integration with CI servers
 Extensibility
 Debugging
Installation and Configuration
 Available as an npm package
 $ npm install –g karma --save-dev
 Install plugins that your project needs
 $ npm install karma-jasmine karma-chrome-launcher --save-dev
Configuration file
 basePath
 Frameworks
 Files
 Exclude
 Preprocessors
 Reporters
 Port
 Colors
 logLevel
 autoWatch
 Browsers
 singleRun
Browser and Framework Support
 Browser support
 Chrome
 ChromeCanary
 PhantomJS
 Firefox
 Opera
 IE
 Safari
 Testing framework support
 Jasmine
 Mocha
 Qunit
References
 Google Testing Blog, http://googletesting.blogspot.com/2012/11/testacular-spectacular-test-
runner-for.html
 Karma Official Site, https://karma-runner.github.io/0.13/index.html
 https://egghead.io/lessons/unit-testing-introduction-to-karma
Thank You!
Any questions?

More Related Content

PPTX
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
PDF
Cypress new old Selenium
PPTX
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
ODP
Js Test Driver, JsHamcrest, JsMockito
PPTX
Decapitating Selenium with JavaScript
PPTX
Automated Testing with Cucumber, PhantomJS and Selenium
PPT
Hands on web development with play 2.0
PPTX
Automated testing with Drupal
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
Cypress new old Selenium
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
Js Test Driver, JsHamcrest, JsMockito
Decapitating Selenium with JavaScript
Automated Testing with Cucumber, PhantomJS and Selenium
Hands on web development with play 2.0
Automated testing with Drupal

What's hot (20)

PPTX
Introduction to Integration Testing With Cypress
PDF
Testing with Codeception (Webelement #30)
PPTX
VorlonJS
ODP
Introduction to PhantomJS
PPTX
Cypress first impressions
PPT
Headless BDD & Responsive Test Automation
PPT
JavaScript Unit Testing
PPTX
Full stack web development with c# and web assembly - Blazor.Net
PDF
Appium mobile web+dev conference
PPT
Google App Engine - Java Style
PPT
ColdFusion Components
PPT
JavaScript Unit Testing
ODP
Kickstart Jpa
PPTX
Automated Testing using JavaScript
PPT
watir-webdriver
PDF
e2e testing with cypress
PPT
Selenium
PDF
Chrome Devtools Protocol via Selenium/Appium (English)
PDF
Working in Harmony: Manchester - Optimize development and content workflows
PPTX
Session 01 - Introduction to Selenium - Part 2
Introduction to Integration Testing With Cypress
Testing with Codeception (Webelement #30)
VorlonJS
Introduction to PhantomJS
Cypress first impressions
Headless BDD & Responsive Test Automation
JavaScript Unit Testing
Full stack web development with c# and web assembly - Blazor.Net
Appium mobile web+dev conference
Google App Engine - Java Style
ColdFusion Components
JavaScript Unit Testing
Kickstart Jpa
Automated Testing using JavaScript
watir-webdriver
e2e testing with cypress
Selenium
Chrome Devtools Protocol via Selenium/Appium (English)
Working in Harmony: Manchester - Optimize development and content workflows
Session 01 - Introduction to Selenium - Part 2
Ad

Similar to Cpsc 473 01 lightning talk (20)

PPTX
QA or the Highway 2022.pptx
PPTX
Protractor overview
PPTX
Protractor for angularJS
PDF
Grunt.js and Yeoman, Continous Integration
ODP
Dynamic Languages Web Frameworks Indicthreads 2009
PDF
Playwright Testing Guide for QA Engineers.pdf
PDF
Getting Started with Playwright: A Beginner-Friendly Introduction & Setup Guide
PPTX
Grunt Continuous Development of the Front End Tier
PPTX
Load Runner
PDF
Robot Framework Introduction & Sauce Labs Integration
PDF
Explore What's New in Node.js 24: Top Updates
PDF
Compiled Websites with Plone, Django, Xapian and SSI
PDF
Cross browser testing using BrowserStack
DOCX
myresume_08
PPT
AppengineJS
PDF
Oracle Soa Suite 11g Performance Tuning Cookbook Osama Oransa
ODP
eXo Platform SEA - Play Framework Introduction
PDF
Cypress vs Playwright: A Comparative Analysis
PDF
Unit Testing in AngularJS - CC FE & UX
PDF
Quest to the best test automation for low code development platform kherrazi ...
QA or the Highway 2022.pptx
Protractor overview
Protractor for angularJS
Grunt.js and Yeoman, Continous Integration
Dynamic Languages Web Frameworks Indicthreads 2009
Playwright Testing Guide for QA Engineers.pdf
Getting Started with Playwright: A Beginner-Friendly Introduction & Setup Guide
Grunt Continuous Development of the Front End Tier
Load Runner
Robot Framework Introduction & Sauce Labs Integration
Explore What's New in Node.js 24: Top Updates
Compiled Websites with Plone, Django, Xapian and SSI
Cross browser testing using BrowserStack
myresume_08
AppengineJS
Oracle Soa Suite 11g Performance Tuning Cookbook Osama Oransa
eXo Platform SEA - Play Framework Introduction
Cypress vs Playwright: A Comparative Analysis
Unit Testing in AngularJS - CC FE & UX
Quest to the best test automation for low code development platform kherrazi ...
Ad

Recently uploaded (20)

PDF
1_English_Language_Set_2.pdf probationary
PDF
Trump Administration's workforce development strategy
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
advance database management system book.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
Introduction to Building Materials
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
IGGE1 Understanding the Self1234567891011
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
1_English_Language_Set_2.pdf probationary
Trump Administration's workforce development strategy
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
advance database management system book.pdf
History, Philosophy and sociology of education (1).pptx
Introduction to Building Materials
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
HVAC Specification 2024 according to central public works department
IGGE1 Understanding the Self1234567891011
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Computer Architecture Input Output Memory.pptx
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
TNA_Presentation-1-Final(SAVE)) (1).pptx
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα

Cpsc 473 01 lightning talk

  • 1. Spectacular Test Runner for Javascript CPSC 473-01 Lightning Talk By Ketul Shah Sayali Joshi
  • 2. Introduction  Built by AngularJS team By Vojta Jína  A test runner to test your script across cross-browser environment  Test framework agnostic test runner  How it works?  Spawns the web driver specified in its configuration file.  Executes source code against test code for each connected browser.
  • 3. Features  Testing on real browsers  Remote control  Speed  Integration with IDEs and text editors  Integration with CI servers  Extensibility  Debugging
  • 4. Installation and Configuration  Available as an npm package  $ npm install –g karma --save-dev  Install plugins that your project needs  $ npm install karma-jasmine karma-chrome-launcher --save-dev
  • 5. Configuration file  basePath  Frameworks  Files  Exclude  Preprocessors  Reporters  Port  Colors  logLevel  autoWatch  Browsers  singleRun
  • 6. Browser and Framework Support  Browser support  Chrome  ChromeCanary  PhantomJS  Firefox  Opera  IE  Safari  Testing framework support  Jasmine  Mocha  Qunit
  • 7. References  Google Testing Blog, http://googletesting.blogspot.com/2012/11/testacular-spectacular-test- runner-for.html  Karma Official Site, https://karma-runner.github.io/0.13/index.html  https://egghead.io/lessons/unit-testing-introduction-to-karma