title | disqus |
---|---|
Photo |
hackmd |
[TOC]
If you are a total beginner to this, start here!
- Visit hackmd.io
- Click "Sign in"
- Choose a way to sign in
- Start writing note!
Feature: Guess the word
# The first example has two steps
Scenario: Maker starts a game
When the Maker starts a game
Then the Maker waits for a Breaker to join
# The second example has three steps
Scenario: Breaker joins a game
Given the Maker has started a game with the word "silky"
When the Breaker joins the Maker's game
Then the Breaker must guess a word with 5 characters
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it. [name=Bill Gates]
Feature: Shopping Cart
As a Shopper
I want to put items in my shopping cart
Because I want to manage items before I check out
Scenario: User adds item to cart
Given I'm a logged-in User
When I go to the Item page
And I click "Add item to cart"
Then the quantity of items in my cart should go up
And my subtotal should increment
And the warehouse inventory should decrement
Read more about Gherkin here: https://docs.cucumber.io/gherkin/reference/
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Note left of Alice: Alice responds
Alice->Bob: Where have you been?
Read more about sequence-diagrams here: http://bramp.github.io/js-sequence-diagrams/
gantt
title A Gantt Diagram
section Section
A task :a1, 2014-01-01, 30d
Another task :after a1 , 20d
section Another
Task in sec :2014-01-12 , 12d
anther task : 24d
Read more about mermaid here: http://mermaid-js.github.io/mermaid/
:::info Find this document incomplete? Leave a comment! :::