Skip to content

Instantly share code, notes, and snippets.


TheMightyLlama TheMightyLlama

View GitHub Profile
View gist:a2c8c74dab82c8ac153cefff25138ac9
Feature: Login with the ChatApp account
As a ChatApp user
I want to login with my ChatApp credentials
So that I can chat with my friends
Business Criteria:
* A user can login with correct email pass combo
* A user can use passwords of format xyz
* A user can use their email, username or phone number to login
View The Rules of the

The Backstory

The internet has changed significantly since it erupted awkwardly into the global consciousness in the mid 90s.

However, there was always a barrier to entry. This was as much a technical one as it was an educational one. Common standards for building websites took a while and companies were often hosting either on their own servers or on server farms. Cue, the 'cloud'.

With the advent of cloud technologies platforms such as AWS and Azure were designed to provide a technical foundation upon which to build a product or service without needing the expertise to build the foundation in the first place. And so, companies that previously hosted content on servers or server farms started moving over to the cloud.

The clouds themselves are expanding all the time as evidenced in AWS. The number of tools available via the foundations are growing fast. As a result new products and services are emerging from these platforms all the time. This is why I think of these as 'Emergence Platforms'. They are

View gist:68bb1e3f7234f509a15d1e1209385bc7
Feature: A Client can GET a SECTOR resource
As a Client
I want to get a sector
So that I can evaluate what needs to be modified
Given the system knows about the following sector:
| sector id | sector name | sector url |
| 1 | Oil & Gas | |
And the client creates a new SECTOR request
View Galaxy data.json
"designations" : [
{"name":"The Andromeda Galaxy"},
"observationEpoch" : "J2000",
"pronunciation" : "/ænˈdrɒmᵻdə/",
"constellation" : "Andromeda",
View Sublime Text YAML
%YAML 1.2
name: Plain Text
file_extensions: [txt]
scope: source.c
View JsonSchema.json
For proper splitting of objects see here:
For faking data:
JSON Schema:
"$schema": "",
"title": "Account Data",
"description": "All information pertaining to a single account",
"type": "object",
"properties": {
View ChatApp Useful Links
View LSETradedCompanies.csv
All Asia Asset Cptl AAA
Albemarle & Bond Hldgs ABM
Aberdeen Asset Mngmnt ADN
Alecto Minerals ALO
Amphion Innovations AMP
Africa Oilfield AOL
Alpha Strategic APS
Arbuthnot Banking ARBB
Arden Partners ARDN
TheMightyLlama / gist:261b296d66b3a042b743
Last active Aug 29, 2015
print a string and status with correct number of periods
View gist:261b296d66b3a042b743
function printStatus () {
lineLength=`tput cols`;
periodLength=$((lineLength - stringLength - statusLength));
View Login.feature
Feature: Login
Login can be performed with validated email
User stays on login page with wrong username/pass
Scenario: Correct Email Pass Combo
Given User Exists
And User has <email>
And User has <password>
When User attempts to login
Then they are given access to the service
You can’t perform that action at this time.