BDD (Behaviour Driven Development) and TDD ( Test Driven Development) has become cornerstone for modern Javascript app development but adopting these development strategies to SharePoint/Office 365 is not a trivial task.
I was intrigued to discover #Protractor, an AngularJS testing framework. With client side MVC/MVVM frameworks getting popular among the developers, AngularJS is the premier framework to develop Office365/SharePoint 2013 apps. Integrating TDD methodologies to app development model will help developers to deliver maintainable, flexible and extensible solutions and interfaces.
This repo have two projects
- ExpensesAngularApp
- ExpensesAngularApp test
- Expenses AngularApp: =======================
- This is a SharePoint hosted app developed using popular angular framework.
- Utilizes best patterns and practises for angular framework based on HotTowel framework and Learning-Path-Manager-Code-Sample from Andrew Connell.
- Uses ShareCoffee Javascript library to make REST calls to SharePoint
- Available as a nuget package for easy install
- ExpensesAngularApp test: =======================
- This Project runs on NodeJS and executes End to End testing on Expenses Angular App
- Utilizes Protractor framework to do E2E testing
- Jasmine is used to write test specs
Presentation and training videos of this project is available here: