Conceptualized by Alistair Cockburn. Also known as "Ports and Adapters".
In a nutshell:
Application Driver -> Primary Adapter -> Primary Port -> Use Case -> Secondary Port -> Secondary Adapter -> External System/Side Effect
| { | |
| "DE": { | |
| "special chars": "ÄäÖöÜüẞß" | |
| }, | |
| "ES": { | |
| "special chars": "áéíóùü" | |
| } | |
| } |
| snipet |
| #!/bin/bash | |
| while true | |
| do | |
| STATUS=$(curl -s -o /dev/null -w '%{http_code}' http://www.google.com) | |
| if [ $STATUS -eq 200 ]; then | |
| echo "Got 200! All done!" | |
| break | |
| else | |
| echo "Got $STATUS :( Not done yet..." |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
| { | |
| "options": { | |
| "limit": [] | |
| }, | |
| "templates": { | |
| "BUG TEMPLATE": { | |
| "issuetype-field": "Bug", | |
| "text": "h4. Summary:\n<TI>Enter summary of the problem here.</TI>\n\nh4. Environment:\n<TI>provide as much as possible from the following: instance : platform : device : os : resolution</TI>\n\nh4. Steps to Reproduce:\n<TI>Enter detailed steps to reproduce here. More detail is better.</TI>\n\nh4. Actual Behaviour:\n<TI>Screenshot. Enter what should happen here.</TI>\n\nh4. Expected Behaviour:\n<TI>Enter what should happen here.</TI>\n\nh4. Additional Notes:\n<TI>Enter any other details such as examples, links to requirements, JIRA issue etc. Any criteria that might help with fixing the problem. More detail is better.</TI>\n" | |
| }, | |
| "DEFAULT TEMPLATE": { |
| <?php | |
| /** | |
| * Take screenshot of a page where step fails. | |
| * | |
| * @AfterStep | |
| */ | |
| public function afterFailedStepsTakeScreenshot(AfterStepScope $scope) { | |
| if (\Behat\Testwork\Tester\Result\TestResult::FAILED === $scope->getTestResult()->getResultCode()) { | |
| $driver = $this->getSession()->getDriver(); | |
| if ($driver instanceof Behat\Mink\Driver\Selenium2Driver) { |
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name