Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pj-mill/angularjs_ngmock_pluralsight

Completed coursework that demonstrates a TDD approach to client side development using AngularJS, ngMock, Jasmine, Karma, NodeJS & PhantomJS.
https://github.com/pj-mill/angularjs_ngmock_pluralsight

angularjs jasmine karma ngmock ngresource ngroute nodejs npm phantomjs protractor

Last synced: 9 days ago
JSON representation

Completed coursework that demonstrates a TDD approach to client side development using AngularJS, ngMock, Jasmine, Karma, NodeJS & PhantomJS.

Awesome Lists containing this project

README

        

# [AngularJS_ngMock_Pluralsight](https://www.pluralsight.com/courses/angularjs-ngmock-unit-testing)

Lab work for course [Angularjs ngmock unit testing] (https://app.pluralsight.com/library/courses/angularjs-ngmock-unit-testing/table-of-contents) on Pluralsight

Developed with Visual Studio Code and accesess the omdb API for resources.

![TDD](https://github.com/Apollo013/AngularJS_ngMock_Pluralsight/blob/master/Screenshot.png?raw=true "TDD Screen shot")

---

###Techs
|Tech|
|----|
|AngularJS|
|Angular-mock|
|Angular-route|
|Angular-resource|
|HTML|
|CSS / Bootstrap|
|jQuery|
|Jasmine|
|Karma|
|PhantomJS|
|NodeJS|
|Npm|
|Git|
|Batch Files|

---

###Modules
|Module|
|-----------|
|01. Getting Started|
|02. First Steps with ngMocks Core Functions|
|03. Unit Testing HTTP Interactions with ngMock|
|04. Unit Testing Controllers with ngMock|
|05. Unit Testing with Timeouts and Intervals|
|06. Unit Testing Directives with rootScope|
|07. Unit Testing with Dates|
|08. Unit Testing with Exceptions|
|09. Unit Testing with Logging|
|10. Testing with ngMockE2E BackEnd|

---

#### Initialising Project
npm init

npm install karma --save-dev

npm install -g karma-cli

npm install karma-jasmine karma-phantomjs jasmine-core --save-dev

karma init

npm install angular --save-dev

npm install angular-mocks --save-dev

npm install angular-resource --save-dev

npm install angular-route --save-dev

npm install jquery --save-dev

npm install bootstrap --save-dev

npm install angular-ui-bootstrap --save-dev

---

#### Committing changes with Git
run commit "COMMIT MESSAGE" from cmd

This will run the commit.bat file located in the root folder