(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| // Gulp 4 | |
| var gulp = require('gulp'); | |
| var using = require('gulp-using'); | |
| var grep = require('gulp-grep'); | |
| var changed = require('gulp-changed'); | |
| var del = require('del'); | |
| var coffee = require('gulp-coffee'); | |
| var less = require('gulp-less'); | |
| var coffeelint = require('gulp-coffeelint'); | |
| var sourcemaps = require('gulp-sourcemaps'); |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| #!/bin/sh | |
| cd .. | |
| grunt release | |
| cd build | |
| echo "compressing..." | |
| tar -cf portal.tgz ../* --exclude=../node_modules --exclude=../tests/node_modules --exclude=../data --exclude=../config/local.json | |
| echo "deploying to server" | |
| scp -r portal.tgz root@server:/root/remote-folder/ | |
| echo "updating sources" | |
| ssh root@server " |
| using System; | |
| using System.Runtime.InteropServices; | |
| class Program | |
| { | |
| public class Base | |
| { | |
| private Base() | |
| { | |
| } |
| import java.io.FileDescriptor; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.io.PrintStream; | |
| public class HelloWorld{ | |
| private static HelloWorld instance; | |
| public static void main(String[] args){ | |
| instantiateHelloWorldMainClassAndRun(); |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| Название | Движок | Язык | Преимущества | Ограничения |
|---|---|---|---|---|
| Feta | Selenium | Java | * Ориентирован на интеграционное тестирование * Уже используется в команде тестирования * Интегрировано с нашим CI и JIRA * Учтены многие многие проблемы |
* Исходный код написан на Java * Требуются знания Java |
| Selenium | WebDriver | Java | * Высокая популярность * Развитая экосистема |
* Слишком "косолапое" API * Требуются знания Java |
| Thucydides (Serenity) |
WebDriver | Java | * Развитая экосистема | * Требуются знания Java |
| Browserstack | WebDriver | JavaScript | * | * Проект в забвении |
| webdrvr | WebDriver | JavaScript | * | * Обертка над WebDriver и не более того * Проект в забвении |
| Buster | PhantomJS, |