Friday, August 22, 2014

Handmade UnitTest framework for JavaScript

Well, I was also needing a UT framework (a very simple one) and decide to write my own in JS.

At the same time, i realize that i need to have a public GIT repository to keep all my sample code, hence i have created this link,
https://github.com/tapeshmaheshwari/JavaScript.git


So, i wrote my first JS program which is a Unit Test Framework.
@ https://github.com/tapeshmaheshwari/JavaScript/tree/master/unittest


It looks like below and based on 'assert' function.


JavaScript Unit Test Framework



  • The first pass test case simulation
  • The first fail test case simulation
  • Add two numbers.
  • No comments: