Monday, April 1, 2019

JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript

JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript. It is essentially a port of JUnitto JavaScript. Also included is a platform for automating the execution of tests on multiple browsers and mutiple machines running different OSs. Its development began in January 2001.

Download the jsunit
http://www.jsunit.net/

Test Procedure

Step 1 : run(double click) testRunner.html which is located in the  jsunit/testRunner.html.




Step 2 : Need to add the test case html page (already this frame work has some test html files in the location : jsunit/tests/*)and click on the run button from the opened testRunner. (in my case, Google Chrome is not showing me Run, Stop buttons. So, I have tested with FireFox Browser and Internet Explorer).





No comments:

Post a Comment

Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...