drnic / jsunittest Goto Github PK
View Code? Open in Web Editor NEWJavaScript Unit Test suite; no dependencies (but same API as prototypejs' unittest suite)
Home Page: http://jsunittest.rubyforge.org/
License: MIT License
JavaScript Unit Test suite; no dependencies (but same API as prototypejs' unittest suite)
Home Page: http://jsunittest.rubyforge.org/
License: MIT License
JsUnitTest Description: This JavaScript project provides a one-file JavaScript test suite. This is based off unittest.js from "prototypejs":http://prototypejs.org, except this library has no dependency on prototype.js so there is no chance your code-under-test can conflict with prototype.js or that you might accidently use a prototype.js helper for a library that will be deployed independently off prototypejs. More information: http://drnicjavascript.rubyforge.org/jsunittest Author: Dr Nic Williams, [email protected] Contributions/Thanks: original unittest code - prototypejs project ajax library - John Resig, Pro JavaScript book event library - Dean Edwards
Right now you have to define the test runner after the elements in your HTML containing the test log are loaded, otherwise you don't see the output. I have the habit of defining my tests in separate files, so I have to add a script element at the end of the document with my tests.
This is not a very big problem, but it is inconsistant with unittest.js, which runs the runner on the dom:loaded event.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.