JSMock

  •        101

With web 2.0, the development of JS frameworks increased. Like any other language, this code must be tested. The problem is that, for us to test javascript, we need to run a browser. The goal of this project is to create a Mock suite to mock and test javascript without the bro...

http://jsmock.codeplex.com/

Tags
Implementation
License
Platform

   




Related Projects

nOsliw HUI - HTML/HTA Application Framework

  •    

nOsliw HUI is a HTML/HTA Application JScript Framework for IT Professionals and advanced scripters in Windows enterprise networks. HUI is written in JScript/Javascript. The JS classes uses WSH, ADSI, WMI, FileSystem & other AJAX Frameworks.

atomic - A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support.

  •    Javascript

A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support. Compiled and production-ready code can be found in the dist directory. The src directory contains development code.

FakeRest - Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.

  •    Javascript

Intercept AJAX calls to fake a REST server based on JSON data. Use it on top of Sinon.js (for XMLHTTPRequest) or fetch-mock (for fetch) to test JavaScript REST clients on the browser side (e.g. single page apps) without a server. FakeRest uses a standard REST flavor, described below.

JSMock

  •    Javascript

A fully featured mock object library for Javascript.

id3 - A JavaScript ID3 tags parser for Node & browsers.

  •    Javascript

id3.js is a JavaScript library for reading and parsing ID3 tags of MP3 files. id3.js can parse both ID3v1 and ID3v2 tags within a browser or Node environment. It also supports reading from local files (Node-only), same-origin URLs (AJAX) and File instances (HTML5 File API). Here the MP3 is being requested by partial AJAX requests, such that only the ID3v1 and ID3v2 tags are read rather than the file as a whole.


prop-types - Custom React PropType validators that we use at Airbnb.

  •    Javascript

Custom React PropType validators that we use at Airbnb. Use of airbnb-js-shims or the equivalent is recommended.Since PropTypes are typically not included in production builds of React, this library’s functionality serves no useful purpose. As such, when the NODE_ENV environment variable is "production", instead of exporting the implementations of all these prop types, we export mock functions - in other words, something that ensures that no exceptions are thrown, but does no validation. When environment variables are inlined (via a browserify transform or webpack plugin), then tools like webpack or uglify are able to determine that only the mocks will be imported - and can avoid including the entire implementations in the final bundle that is sent to the browser. This allows for a much smaller ultimate file size, and faster in-browser performance, without sacrificing the benefits of PropTypes themselves.

fetch-mock - Mock http requests made using fetch

  •    Javascript

Mock http requests made using fetch (or isomorphic-fetch)

node-mocks-http - Mock 'http' objects for testing Express routing functions

  •    Javascript

Mock 'http' objects for testing Express routing functions, but could be used for testing any Node.js web server applications that have code that requires mockups of the request and response objects. This project is available as a NPM package.

JS-App

  •    

JS-App is a Javascript Application framework with which you can build rich web applications and widgets embeddable in web pages. The framework is object-oriented, data-driven, cross-browser, internationalizable, themeable, extensible. (+ Ajax)

apimocker - node.js module to run a simple http server for mock service responses.

  •    Javascript

Then you can visit "http://localhost:7878/first" in your browser to see it work. The quiet and port options can also be set in the config.json file, and values from config.json will override values from the command line. After you get up and running, you should put your config.json and mock responses in a better location. It's not a good idea to keep them under the "node_modules" directory. Make sure another process is not already using the port you want. If you want port 80, you may need to use "sudo" on Mac OSX. Sometimes you only want some service endpoints to be mocked, but have other requests forwarded to real service endpoints. In this case, provide the proxy URL option on startup e.g. apimocker --proxy http://myrealservice.io When the proxy option is set, any requests to apimocker with URLs that are not configured with mock files, will be forwarded to the specified URL.

jquery-mockjax - The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses

  •    Javascript

There are some minor breaking changes in v2, so if you need an older version, please check the v1.x branch or the list of releases in Github.jQuery Mockjax provides request/response mocking for ajax requests using the jQuery API and provides all standard behaviors in the request/response flow.

Helmi RIA platform: Ajax and J2EE

  •    Java

With Helmi's RIA platform you can develop advanced Ajax and J2EE integrated applications. The solution is composed of a browser-based client, a virtual browser for cross-browser application operations, an Eclipse-based IDE, and a J2EE-based Ajax server.

Nana Utilities

  •    Javascript

Nana Script Utilities are some tools written in ECMAScript(aka JavaScript), include some helper libraries and standalone tools which can help in Web and/or WSH, HTA development.

LINQ to JavaScript

  •    LINQ

LINQ to JavaScript (JSLINQ) is LINQ to Objects for JavaScript arrays, and adds power and flexibility of LINQ style queries to traditional JavaScript code.

nOsliw MBA - Module Based HTA Application

  •    

nOsliw MBA - Module Based HTA Application is a default HTA with ability to add modules of administration tools, similar to extensions/addons in browsers. Target is advanced IT Professionals of support users. Language is DHTML, JScript and HUI Library.

CRM 2011 Jscript Soap Request Formatter

  •    

Works in conjunction to soaplogger solution included in CRM 2011 SDK to format captured envelopes in Jscript, ready for use in the CRM GUI. Eventually I would like to combine the Soap Logger functionality entirely.

Ajax Sprite Toolkit

  •    

The Ajax Sprite Toolkit is a collection of ASP.NET AJAX Controls and Behaviors that aid in the development of 2D sprite based games that run in a web browser.

Simple-Ajax-Uploader - Javascript file upload plugin with progress bar support

  •    Javascript

A Javascript plugin for cross-browser Ajax file uploading. Supports drag and drop, CORS, and multiple file uploading with progress bars. Works in IE7-9, mobile, and all modern browsers. Visit the new FAQ for solutions to the most common issues.

Clean AJAX

  •    Javascript

AJAX framework that uses messages to control AJAX requests. Easy to use AJAX framework that provides message queue, XSLT, XPath, encryption (SHA1, MD5), web service access (SOAP, XML-RPC, JSON-RPC), cross browser AJAX, AJAX history and cache control.

node-Tor - Javascript implementation of the Tor (or Tor like) anonymizer project (The Onion Router)

  •    Javascript

For a quick look, see the demo video on Peersm, download and stream anonymously inside your browser, serverless anonynous P2P network compatible with torrents. Check out torrent-live for a more general presentation and to get the dynamic blocklist.