background preloader

Insanely fast, headless full-stack testing using Node.js

Insanely fast, headless full-stack testing using Node.js

JavaScript Guide The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference. This Guide is divided into the following chapters. Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Indexed collections Keyed collections Working with objects Details of the object model Promises Iterators and generators QUnit JavaScript Development Tools Debug Project Overview The JSDT debug project brings a variety of JavaScript debugging support to the JSDT using a common UI and communicating using a common protocol - JavaScript Debug Interface (JSDI). The common interface for the debugger emulates that of the platform and JDT debugger to allow a smooth transition and ease of use for the JSDT debugger. Currently we have debugging support for Rhino and an incubation version of Crossfire / Firebug support. JSDT Debug Bundles The JSDT debugger is broken down into the following bundles: A team project set file for JSDT debug can be found here. Development Resources All things related to hacking the code and using the tools can be found in this section. Rhino Debug Wire Protocol To provide support for the Rhino interpreter, we had to create both sides of the coin - the debugger and the client. JavaScript Debug Interface (JSDI) Up To The Minute JSDT Debug is preparing to release version 3.2.1!

YUI Test YUI Test is a complete testing framework for JavaScript and Web applications. You can use the simple JavaScript syntax to write unit tests that can be run in web browsers or on the command line, as well as functional tests to be run in web browsers. Additional tools that build on top of the JavaScript library's core functionality allow integration with build systems. Reporting Defects / Making Enhancement Requests YUILibrary.com is the proper location for reporting defects found in the YUI Test code as well as for logging enhancement requests for consideration for future updates. *Only logged in users can submit bugs and feature requests.

Downloading jQuery Compressed and uncompressed copies of jQuery files are available. The uncompressed file is best used during development or debugging; the compressed file saves bandwidth and improves performance in production. You can also download a sourcemap file for use when debugging with a compressed file. To locally download these files, right-click the link and select "Save as..." from the menu. For help when upgrading jQuery, please see the upgrade guide most relevant to your version. Download the compressed, production jQuery 3.6.2 Download the uncompressed, development jQuery 3.6.2 Download the map file for jQuery 3.6.2 You can also use the slim build, which excludes the ajax and effects modules: Download the compressed, production jQuery 3.6.2 slim build Download the uncompressed, development jQuery 3.6.2 slim build Download the map file for the jQuery 3.6.2 slim build jQuery 3.6.2 blog post with release notes jQuery is registered as a package on npm. There are two versions of Migrate.

Testing Backbone applications with Jasmine and Sinon – Part 1 – Tinned Fruit Overview This is the first in a series of articles demonstrating how to test a Backbone.js application, employing the Jasmine BDD test framework and the Sinon.JS spying, stubbing and mocking library. In this part, we’ll take a brief look at Backbone, and then move on to an introduction to some of the features of Jasmine and Sinon.JS. Along the way we’ll look at why these tools are a such good fit for testing Backbone applications. If you have never written any JavaScript tests before, you might like to take a look at Christian Johansen’s recent series of articles over at scriptjunkie. Backbone everywhere In the last few months, Backbone.js has received a fair bit of exposure, with a number of tutorials and one or two high profile implementations. Backbone’s popularity is understandable. Backbone’s MVC structure lends itself very nicely to bottom-up unit testing. About Jasmine BDD BDD emphasises shared language amongst developers and stakeholders. Specs Suites beforeEach() and afterEach() Spies

Maven plugins for javascript testswarm Just getting started with TestSwarm? Check out the README and wiki pages first. This document describes how TestSwarm can be used in a large scale testing environment. Features: Fully automated submissions of jobs to TestSwarmThe swarm is automatically populated with browser clientsEvents can be used to create additional post-build actions (such as IRC notifications). Main frameworks: TestSwarm, Jenkins, QUnit Utilities: node-testswarm, node-browserstack, testwarm-browserstack, grunt TL;DR: → Check out the End result. Prerequisites The following prerequisites are assumed to be installed already (this document does not cover setting that up, these software packages have their own manuals): Note that none of these are claimed to be the "ultimate" tool. For example: Jenkins: It is not required for a working continuous integration environment with TestSwarm. Static clone jQuery The following is an example of such a script to make a static copy. #! MediaWiki Jenkins Jenkins job configuration: Cron

talios/coffee-maven-plugin - GitHub PhantomJS Corsi | AndreaCammarata.com Sencha Touch In this course you will learn to move your first steps in the one that today, is without doubt, the most innovative mobile web oriented framework, thanks to it’s full compatibility with HTML5 and CSS3, but even to it’s stunning webkit animations. Ext An unique framework developed, like Sencha Touch, by Sencha Inc. How To Use ExtJS 4 TreePanels with Both Static Data and Model Stores Wireframe showing tree with both static and dynamically-loaded items I recently needed to build an “admin” screen for a webapp using ExtJS 4. The wireframe called for a tree to navigate the various admin settings, including settings for individual users (something like what you see at right). To build a tree like this with ExtJS, you usually use the Ext.tree.Panel class (a.k.a., a TreePanel). Unfortunately I couldn’t find any examples of how to make a TreePanel with a mixture of both static and dynamic nodes, so figuring it out took longer than it should have. With that in mind, I thought I’d share what I learned. A working example of the solution I came up with is shown below (if the embedded version doesn’t appear for some reason, you can open it here). The first thing the code does is define a basic model class for user data, called UserModel: The next thing it does is set up a TreeStore to load the UserModel instances: The next part requires a little more explanation. Tags: extjs4

fireEvent [アーカイブ] - Sencha Forum This is just back of the envelope; if the object is not a direct child, say like a field in a form for instance you need to set the bubble target; here's and example of setting the bubble target pulled from the sencha docs. This can also be used like: Ext Spec

Related: