unittesting's Introduction
List of testing: 1.-Test initialitation, as per funcitonality, list should start with 3 persons already added. 2.-Test function addTemp, when a user do click on button [+add] it should increase the array length one array=array+1. 3.-Test function addTemp, when user start to type into the input, $scope.temp variable should be true and should add what is typing on $scope.addName 4.-Test function deleteRow, it should delete the name selected by user. 5.-Test filter search 6.-Test show button [++add], When user start to type in input text, button [+add] should appear 7.-Test hide button [++add], When user delete all content in input text, button [+add] should dissapear DOM Testing 8.-Input type should contains the word "Another one ?". 9.-Input type should contains the word "Search". 10.-Add Button should have value "+ add". Please find the testing files in https://github.com/OmarDavilaP/unitTesting/tree/master/app/unit Tool used: 1.-Jasmine 2.-Angular-mocks 3.-karma-ng-html2js-preprocessor (for template testing). Note: I have copied the code from https://codepen.io/renaudtertrais/pen/hwrqH?editors=1010 but there are a small issue with bootstrap framework not related with my code (please see console developer tool)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.