https://github.com/eddiejaoude/phpunit-selenium-parallel
- Standard grid
- Pros: simple.
- Cons: All tests sequential.
#!/usr/bin/env bash | |
source ~/venv/bin/activate | |
deis register http://local.deisapp.com:8000 --username=bacongobbler --email=mmm@bacon.com --password=qwerty | |
deis login http://local.deisapp.com:8000 --username=bacongobbler --password=qwerty | |
deis keys:add ~/.ssh/id_rsa.pub | |
deis init dev local.deisapp.com --hosts=local.deisapp.com --auth=~/.vagrant.d/insecure_private_key |
<?php | |
namespace igorw\lusp; | |
// all functions return a pair of [val, env] | |
function evaluate($expr, $env = []) { | |
if (is_string($expr)) { | |
if (is_numeric($expr)) { | |
$val = (float) $expr; |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Symfony2 URLs begins with app or admin/dashboard | |
RewriteRule ^app/ app.php [QSA,L] | |
RewriteRule ^admin/dashboard app.php [QSA,L] | |
# Others requests are redirected to Wordpress | |
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ |
/* I use the Stylish extension for this, in addition to Scrum for Trello extensions, with Google Chrome browser */ | |
/* explicit labels */ | |
body .list-card-labels { | |
float: right; | |
top: -2px; | |
right: -2px; | |
max-width: 200px; | |
margin: 0; |
https://github.com/eddiejaoude/phpunit-selenium-parallel
VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi | |
VBoxManage modifyhd "cloned.vdi" --resize 51200 | |
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk |
watch ('.*\.php$') {|phpFile| run_php_unit(phpFile)} | |
def run_php_unit(modified_file) | |
system('clear') | |
if (system("phpunit -c phpunit.xml")) | |
system("notify-send 'All test passed'") | |
else | |
system("notify-send 'Test failed'") | |
end | |
end |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'debian-wheezy72-x64-vbox43'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) |
Replace TCP, application layer comm framework.
instantwebp2p - node fork that supports UDT. congestion control - optimal usage of bandwidth flow control - avoid overwhelming the receiver. window based - no packets in flight
file { '/etc/timezone': | |
ensure => present, | |
content => "Europe/Berlin\n", | |
} | |
exec { 'reconfigure-tzdata': | |
user => root, | |
group => root, | |
command => '/usr/sbin/dpkg-reconfigure --frontend noninteractive tzdata', | |
} |