
3 Solutions for Supporting Internet Explorer In the beginning, Internet Explorer was the progressive browser. After a period of inactivity, Internet Explorer became the bane of our existence. Microsoft has since recommitted to their browser but the fact remains that sometimes modern Internet Explorer is lagging just a bit behind WebKit-based browsers and Firefox. We also need to accommodate for earlier versions of IE. htmlshiv.js Remy's HTML5shiv creates HTML5 elements like main, header, footer, etc. via JavaScript. selectivizr.js Selectivizr.js is an incredible resource, polyfilling loads of unsupported CSS selectors and properties, including the all-important last-child. An absolute must for your modern projects. <html> Conditional Comments The ugliest conditional comment series you'll ever see. This snippet doesn't require or wait on JavaScript, and isn't near the weight of a JavaScript library.
Gauge | ThoughtWorks CasperJS et les tests fonctionnels - Lors de mes récentes sessions de veille, je me suis intéressé à différents outils permettant de faciliter la mise en place de tests fonctionnels. À la différence des tests unitaires qui sont mis en place individuellement sur chaque projet, les tests fonctionnels sont encore peu implémentés. Et pourtant, ils demeurent tout aussi importants. La distinction pourrait se résumer en deux phrases bien choisies : Unit testing makes sure you are using quality ingredients. Présentation À l’heure actuelle, CasperJS est sans nul doute l’outil le plus utilisé et le projet le plus suivi pour mettre en place des tests fonctionnels sur des applications web. Il est à noter qu’il est également multi-plateforme et qu’il peut s’utiliser depuis n’importe où sur un système, les projets ne sont donc nullement impactés par l’intégration des tests et nous aurons l’occasion de le constater lors de cette démonstration. Getting started with PhantomJS La première étape consiste à installer PhantomJS sur votre poste.
Online Editor – Grammar Checker Technical Limit: 280 characters (4,000 for X Premium users) Recommended: 71-100 characters Why? Shorter posts have higher engagement and are easier to read quickly on a fast-scrolling platform. Technical Limit: 63,206 characters Recommended: 40-80 characters Why? Technical Limit: 2,200 characters (including hashtags) Recommended: 138-150 characters Why? Technical Limit: 5,000 characters GXUnit GXUnit Es un intento de crear una herramienta con funcionalidad similar a Nunit o Junit, adaptada a la realidad de Genexus. Por ahora podria utilizarse para crear TEST de objetos Procedure. La primera etapa seria, hacer un framework de pruebas, para procedimientos La segunda, seria ayudar a generar los programas de test, con Patterns (Simple Test Pattern) La tercera, para la que hay que esperar a la Version YI, de Genexus, seria probar las transacciones. Para lograr mejores resultados y no tener que programar en codigo nativo con genexus, seria bueno contar con comandos del tipo dentro de los disponibles con Genexus. Ademas, seria indispensable poder marcar objetos como de TEST, para poder luego detectarlos/ejecutarlos con una herramienta externa y evitarlos en el deployment de produccion de la aplicacion. Algo mas de info, aqui Comentarios GXUnit es una herramienta super necesaria para adaptar Extreme Programming a GeneXus , muy buena la idea. Proyecto GxUnit 1) Alcance 2) Esquema de la solución
Mocha (JavaScript framework) Mocha is a JavaScript test framework for Node.js programs, featuring browser support, asynchronous testing, test coverage reports, and use of any assertion library. Mocha can be used with most JavaScript assertion libraries, including: should.jsexpress.jschaibetter-assertunexpected $ npm install -g mocha $ mkdir test var assert = require("assert")describe('Foo', function(){ describe('#getBar(value)', function(){ it('should return 100 when value is negative') // placeholder it('should return 0 when value is positive', function(){ assert.equal(0, Foo.getBar(10)); }) })}) $ mocha . 1 test complete (1ms) For asynchronous testing, invoke the callback, and Mocha will wait for completion. describe('Foo', function(){ describe('#bar()', function(){ it('should work without error', function(done){ var foo = new Foo(128); foo.bar(done); }) })})
mod_rewrite cheat sheet | mod_rewrite reference with useful examples. HtmlUnit – Welcome to HtmlUnit Jasmine (JavaScript testing framework) Jasmine aims to be easy to read. A simple hello world test looks like the code below, where describe() describes a suite of tests and it() is an individual test specification. The name "it()" follows the idea of behavior-driven development and serves as the first word in the test name, which should be a complete sentence. Usage follows syntax similar to that of RSpec. The code below tests this function function helloWorld() { return 'Hello world!' and verifies that its output is indeed the text "Hello world!". describe('Hello world', function() { it('says hello', function() { expect(helloWorld()).toEqual('Hello world!') describe('Expect to throw an exception', function() { it('throws some exception', function() { expect( function(){ throw(“Some exception”); }).toThrow(“Some exception”); });}); Jasmine has a number of other features, such as custom matchers, spies, and support for asynchronous specifications.
Broken Link Checker Tool - Dead Link Checker Worried about broken links affecting your website's usability and rankings? Site Checker is a free tool, which crawls through your website identifying broken links for you to fix. Multi Check enables you to run Dead Link Checker through multiple websites in one go. The report is then emailed to you automatically. Our most popular service is Auto Check, which runs Dead Link Checker through your website(s) on a regular basis and emails the reports to you automatically. Why are broken links bad? They negatively impact usability - resulting in reduced traffic and conversions.They damage your rankings - by preventing search engine website crawlers from indexing pages. Site Checker is a simple solution for webmasters and SEOs Identifying broken links on your website is easy and free. To access the multi-site checker or auto checker, first or
Jtest - Parasoft's Automated Java Testing Tool Application Security Parasoft enables development teams to build security into your application by facilitating code-hardening practices based on accepted industry standards, such as OWASP Top 10, CWE/SANS Top 25, and PCI DSS. Defend your software from security breaches and cyberattacks by preventing vulnerabilities where they occur--in the source code. FDA and Medical Device Software Development PCI DSS Compliance Parasoft's unique automated infrastructure unobtrusively drives the development process to help you achieve Payment Card Industry Data Security Standards (PCI DSS) compliance. CWE Compliance Parasoft supports the Common Weakness Enumeration (CWE) guidelines with dedicated code analysis configurations that map to best practices outlined in the standard. OWASP Compliance Automate the implementation and monitoring of coding best practices outlined in the Open Web Application Security Project (OWASP) guidelines. DISA STIG Compliance Coding Standards Compliance with Parasoft
Karma - a Javascript Test Runner Karma - a Javascript Test Runner Michael G Bielski, Karma is a test runner for JavaScript that runs on Node.js. Website: Tested: v0.10 running on NodeJS 0.8.19 running on Windows 7 Professional 64-bitLicense and Pricing: Open SourceSupport: User mailing list/group on Google Groups ( Installation The recommended installation location of Karma is in your global node_modules directory. Configuration Before you run Karma you must configure it. What testing framework do you want to use? Jasmine, Mocha, and QUnit are installed by default and can be referenced by name, but if you have installed another one you should name it here. Do you want to use Require.js? Require.js is a lazy-loading framework that many developers use to minimize the initial script load times in the browser. Do you want to capture a browser automatically? What is the location of your source and test files? Preprocessors Plugins
HTML Purifier - Filter your HTML the standards-compliant way!