SlideShare a Scribd company logo
Testing javascript
● What is unit testing?
● Approaches
● Why is it needed?
● Downside of unit testing
● Testing reasons
● How do we do testing?
● Unit
○
● Testing
○
Testing javascript
● What is unit testing?
● Approaches
● Why is it needed?
● Downside of unit testing
● Testing reasons
● How do we do testing?
Test Driven Development (TDD)
Code Coverage
Test Driven Bug Fixing
● What is unit testing?
● Approaches
● Why is it needed?
● Downside of unit testing
● Testing reasons
● How do we do testing?
● Code design (When doing TDD)
○
○
● Maintainability
○
○
● Provides documentation
○
● Allows to “share” development (with less fear)
○
○
Testing javascript
● What is unit testing?
● Approaches
● Why is it needed?
● Downside of unit testing
● Testing reasons
● How do we do testing?
● Increased development time
● Maintain and fix unit tests
● Increased development costs
● Steep learning curve
What else?..
● What is unit testing?
● Approaches
● Why is it needed?
● Downside of unit testing
● Testing reasons
● How do we do testing?
● If code has to do something…
○
● If it is difficult to understand how it works…
○
● If I allow others to modify my code base…
○
● If I find a bug…
○
● If I want to have better code quality…
○
● What is unit testing?
● Approaches
● Why is it needed?
● Downside of unit testing
● Testing reasons
● How do we do testing?
● Testing library
○
● Additional plugins
○
○
○
● Automation tools
○
○
● Continuous integration
○
Testing javascript
Testing javascript
Testing javascript
Testing javascript
Testing javascript
...to add some test
Testing javascript

More Related Content

PDF
jSession#6 - Adam Bieńkowski - JGiven - BDD testing in plain Java
PPTX
Unit tests 101
PDF
Agile test
PDF
How to involve your team in analysis
PDF
[Hanoi, june 2015] one normal day of an agile developer
PPTX
[Hanoi, june 2015] One normal day of an agile developer
PDF
Writing Tests Effectively
PDF
Test driven development_and_puppet-cfgmgmtcamp_eu-20140402
jSession#6 - Adam Bieńkowski - JGiven - BDD testing in plain Java
Unit tests 101
Agile test
How to involve your team in analysis
[Hanoi, june 2015] one normal day of an agile developer
[Hanoi, june 2015] One normal day of an agile developer
Writing Tests Effectively
Test driven development_and_puppet-cfgmgmtcamp_eu-20140402

What's hot (8)

PDF
How Google Said - Ninja Code Review With Gerrit
PPTX
Pair programming
PDF
DrupalGov 2017: Testing any day: guide to end to end test driven Drupal projects
PDF
Cynthia Wu: Satisfaction Not Guaranteed
PDF
Test driven development - why you should test first?
PPTX
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
PDF
Tdd distilled... in java
PDF
Test Driven Development en Go con Ginkgo y Gomega
How Google Said - Ninja Code Review With Gerrit
Pair programming
DrupalGov 2017: Testing any day: guide to end to end test driven Drupal projects
Cynthia Wu: Satisfaction Not Guaranteed
Test driven development - why you should test first?
РОМАН ЯКИМЧУК «Оптимізація QA процесів» Kyiv QADay 2021
Tdd distilled... in java
Test Driven Development en Go con Ginkgo y Gomega
Ad

Similar to Testing javascript (20)

PDF
Unit testing (Exploring the other side as a tester)
PDF
Unit testing - An introduction
PDF
Test driven development
PDF
Driven to Tests
PPTX
Unit Testing talk
PPTX
Developer Testing
PPTX
Test Driven Development
PPT
Automated testing overview
PDF
Unit testing in PHP
PDF
Test Driven Development - Workshop
PPTX
Concepts of unit testing_dynamic-testing.ppt.pptx
PPTX
BizSpark SF Lightning Talk: "Refactoring and Test-Driven Development" by Math...
PDF
Software Testing Basic Concepts
PPTX
Testing
PPTX
Testing 101
PPTX
ST Unit-3.pptx
PPTX
Test driven development(tdd)
PPTX
Understanding Unit Testing
PPTX
Test driven development
PPTX
Unit Testing and TDD 2017
Unit testing (Exploring the other side as a tester)
Unit testing - An introduction
Test driven development
Driven to Tests
Unit Testing talk
Developer Testing
Test Driven Development
Automated testing overview
Unit testing in PHP
Test Driven Development - Workshop
Concepts of unit testing_dynamic-testing.ppt.pptx
BizSpark SF Lightning Talk: "Refactoring and Test-Driven Development" by Math...
Software Testing Basic Concepts
Testing
Testing 101
ST Unit-3.pptx
Test driven development(tdd)
Understanding Unit Testing
Test driven development
Unit Testing and TDD 2017
Ad

Recently uploaded (20)

PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Modernising the Digital Integration Hub
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Tartificialntelligence_presentation.pptx
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
STKI Israel Market Study 2025 version august
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Architecture types and enterprise applications.pdf
PDF
project resource management chapter-09.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Getting started with AI Agents and Multi-Agent Systems
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Modernising the Digital Integration Hub
WOOl fibre morphology and structure.pdf for textiles
Tartificialntelligence_presentation.pptx
Module 1.ppt Iot fundamentals and Architecture
Univ-Connecticut-ChatGPT-Presentaion.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
Chapter 5: Probability Theory and Statistics
Enhancing emotion recognition model for a student engagement use case through...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
O2C Customer Invoices to Receipt V15A.pptx
STKI Israel Market Study 2025 version august
Developing a website for English-speaking practice to English as a foreign la...
Final SEM Unit 1 for mit wpu at pune .pptx
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
observCloud-Native Containerability and monitoring.pptx
Architecture types and enterprise applications.pdf
project resource management chapter-09.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf

Testing javascript

  • 2. ● What is unit testing? ● Approaches ● Why is it needed? ● Downside of unit testing ● Testing reasons ● How do we do testing?
  • 5. ● What is unit testing? ● Approaches ● Why is it needed? ● Downside of unit testing ● Testing reasons ● How do we do testing?
  • 6. Test Driven Development (TDD) Code Coverage Test Driven Bug Fixing
  • 7. ● What is unit testing? ● Approaches ● Why is it needed? ● Downside of unit testing ● Testing reasons ● How do we do testing?
  • 8. ● Code design (When doing TDD) ○ ○ ● Maintainability ○ ○ ● Provides documentation ○ ● Allows to “share” development (with less fear) ○ ○
  • 10. ● What is unit testing? ● Approaches ● Why is it needed? ● Downside of unit testing ● Testing reasons ● How do we do testing?
  • 11. ● Increased development time ● Maintain and fix unit tests ● Increased development costs ● Steep learning curve What else?..
  • 12. ● What is unit testing? ● Approaches ● Why is it needed? ● Downside of unit testing ● Testing reasons ● How do we do testing?
  • 13. ● If code has to do something… ○ ● If it is difficult to understand how it works… ○ ● If I allow others to modify my code base… ○ ● If I find a bug… ○ ● If I want to have better code quality… ○
  • 14. ● What is unit testing? ● Approaches ● Why is it needed? ● Downside of unit testing ● Testing reasons ● How do we do testing?
  • 15. ● Testing library ○ ● Additional plugins ○ ○ ○ ● Automation tools ○ ○ ● Continuous integration ○