I prototyped a few different approaches to e2e tests and in the end my recommendation is to use casperjs.
- It seems to have the simplest API.
/* main.js */ | |
var myModule = require('./my-module'); | |
var directory = process.argv[2]; | |
var filter = process.argv[3]; | |
var callback = function(error, filtered) { | |
if (error) { | |
console.log('error'); | |
console.log(error); |
Elm is a fantastic programming language. It faciliates a style of structuring web applications, both through functional programming and the Elm architecture, that allows for code that is modular, reliable, and easy to refactor.
If you are starting a new project that requires a fast interactive front-end and you are willing or able to learn a new language and ecosystem, I would strongly
;; -*- mode: emacs-lisp -*- | |
;; This File is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
x = 1;
y = 2;
obj1 = {x:x, y:y}; // ES5
obj2 = {x, y}; //ES6
console.log(obj1);
// Object {x: 1, y: 2}
{ | |
"data": [{ | |
"profile_namespace": "DS", | |
"tutorial": { | |
"owner_name": "Dominic", | |
"picture_url": "/picture.jpg", | |
"title": "The code", | |
"url": "/Dominic/thecode/", | |
"sections": [{ | |
"episode_url": "/tutorial/intro/symphony-of-war/", |
/* partially-applied.js */ | |
function funcLog(item){ | |
return function log(msg){ | |
console.log('Item = ' + item + '. Msg = ' + msg); | |
} | |
} | |
module.exports { | |
funcLog: funcLog | |
} |
/
) can be super useful to move around quicklySPC p D
to open the project root in Dired, and use SPC f j
to jump to the Dired buffer corresponding to current buffer.
C
R
D
Forked from NodeDC
The Nova Node community is made up of a mixture of professionals and volunteers with different levels of understanding and personal beliefs. This diversity is one of our strengths, and in an effort to enrich and protect our community we’ve enacted this Code of Conduct to be followed during all events, online dicussions on forums and chatrooms, and code projects (including issue discussions and pull requests).
Nova Node is dedicated to providing a harassment-free community experience for everyone, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, age or religion. We do not tolerate harassment of community participants in any form. Sexual language and imagery is not appropriate for any community venue, including talks, hack nights, and in public spaces such as bars. Community participants violating these rules may be sanctioned or expelled from events an