JSFoo 2014

JavaScript as the centerpiece of a complex web stack

Sanitize your AngularJS Code with Jasmine and Karma

Submitted by Pulak Bhattacharyya (@pulakb) on Tuesday, 24 June 2014

videocam_off

Technical level

Intermediate

Section

Workshops

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +10

Objective

An AngularJS Developer will ensure following items after attending this session:

• Produce Highly stable solution

• Easily Integrate different components in a large complex system

• Minimizing New and regression defects

• Reduction in test cycle at each phrase

• Good reference point for the system documentation

Jasmine, BBD (Behavior Driven Development) will help AngularJS developers to achieve the above goals.

Description

AngularJS is a client-side MV* framework for creating simple to complex applications. It includes features like two way data binding, model-view-whatever, dependency injection, routing, and promises among others.

To ensure that our application is bug free, extensible and maintainable, we need to take following actions:

• Write application code first.

• Test cases must be small and tests one thing. Test a small unit of code instead of the entire application

• Run test cases against class or method specific for that test case

• If test fails, fix the defects and test again

With Jasmine, BDD, you can write specifications that are small and easy to read.

Further, we will automate our test cases using Karma, the JavaScript test runner and will configure grunt to do all these tasks to make our code production ready.

Speaker bio

I am having more than 9 years of experience in varieties of web technologies.

Currently I am working in Set Top Box and companion device (Tablet - Android and iOS) application development using HTML5, CSS3 and JavaScript MVC framework.

Specialties:
★ Full stack hands on development:

★ JS UI Frameworks like AngularJS, PureMVC, Ionic

★ MVC and MVVM patterns using Node.JS/Express, PHP CodeIgniter

★ JavaScript unit testing using Jasmine

★ JavaScript test runner Karma

★ Test automation using Facile

★ Responsive Web Designs

★ CSS Framework - Bootstrap

★ No SQL (Mongo (certified))

★ DevOps (GIT, GRUNT, GULP)

★ Code Re-factoring

★ Team & Capability Building

★ Agile - Scrum experience

Domains:
★ Health care

★ E-Commerce

★ Banking and Insurance

★ Video broadcast / Live TV, STB

Personal Blog:
http://www.pulakonline.com

Co-Organizer of Technical meetup group:
http://www.meetup.com/JSChannel-Bengaluru

Public Speaking:
http://www.meetup.com/JSChannel-Bengaluru/events/170998132/

Youtube Presentations:
★ Running Jasmine Unit Test cases using Karma - https://www.youtube.com/watch?v=KlgG2v7OBLM

★ Firefox Developer Tools - Screen 1 - https://www.youtube.com/watch?v=PvnLYD6vixw

Being an enthusiast of Front-End development I engagement myself with other developers in the community through social networking sites like Facebook. I manage the following groups along with code contribution, suggestions:

★ AngularJS - https://www.facebook.com/groups/255769184523171/

★ AngularJS Developers - https://www.facebook.com/groups/483288438437567/

★ JavaScript Developers India - https://www.facebook.com/groups/jsdevindia/

★ Node.js Developers India - https://www.facebook.com/groups/nodejsdevelopersin/

★ PHP Developers India - https://www.facebook.com/groups/pdvlin/

Links

Comments

  • 1
    Tenzin Kunkyab (@tenzkunkyab) 4 years ago

    Hey Pulak,

    Nice to see you here.. Last time I missed out the Meetup. hopefully I'll make it this time..

  • 1
    Vishwanath Malipatil (@tovishwanathm) 4 years ago

    I have attended sessions presented by Pulak. He has got extraordinary presentation skills. He understands type of audience and take them through easily understandable content and also solve their doubts in simple and effective way. Looking forward to attend this session.

  • 1
    Pulak Bhattacharyya (@pulakb) Proposer 4 years ago

    I am glad that you guys found my session useful.

Login with Twitter or Google to leave a comment