Adding plenty of features with just basic scenarios
This commit is contained in:
parent
15eaebe981
commit
8b5eb0395f
|
@ -1,7 +1,7 @@
|
|||
Feature: Create sites
|
||||
As a hacker who likes to blog
|
||||
I want to be able to easily make a static site
|
||||
In order to share my awesome skills with the interwebs
|
||||
I want to be able to make a static site
|
||||
In order to share my awesome ideas with the interwebs
|
||||
|
||||
Scenario: Basic site
|
||||
Given I have a blank site
|
||||
|
@ -38,3 +38,5 @@ Feature: Create sites
|
|||
And the _site/posts/2009/03/24/hackers.html file should exist
|
||||
And I should see "My First Exploit" in "_site/posts/2009/03/24/hackers.html"
|
||||
And I should see "Basic Site with Layout and a Post: My First Exploit" in "_site/index.html"
|
||||
|
||||
Scenario: Basic site with include tag
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
Feature: Embed filters
|
||||
As a hacker who likes to blog
|
||||
I want to be able to transform text inside a post or page
|
||||
In order to perform cool stuff in my posts
|
||||
|
||||
Scenario: Convert date to XML schema
|
||||
Scenario: Escape text for XML
|
||||
Scenario: Calculate number of words
|
||||
Scenario: Convert an array into a sentence
|
||||
Scenario: Textilize a given string
|
|
@ -0,0 +1,16 @@
|
|||
Feature: Post data
|
||||
As a hacker who likes to blog
|
||||
I want to be able to embed data into my posts
|
||||
In order to make the posts slightly dynamic
|
||||
|
||||
Scenario: Use post.title variable
|
||||
Scenario: Use post.url variable
|
||||
Scenario: Use post.date variable
|
||||
Scenario: Use post.id variable
|
||||
Scenario: Use post.categories variable when categories are in folders
|
||||
Scenario: Use post.categories variable when categories are in YAML
|
||||
Scenario: Use post.categories variable when category is in YAML
|
||||
Scenario: Use post.topics variable
|
||||
Scenario: Use post.content variable
|
||||
Scenario: Disable a post from being published
|
||||
Scenario: Use a custom variable
|
|
@ -0,0 +1,13 @@
|
|||
Feature: Site configuration
|
||||
As a hacker who likes to blog
|
||||
I want to be able to configure jekyll
|
||||
In order to make setting up a site easier
|
||||
|
||||
Scenario: Change destination directory
|
||||
Scenario: Use RDiscount for markup
|
||||
Scenario: Use Maruku for markup
|
||||
Scenario: Disable auto-regeneration
|
||||
Scenario: Run server on a different server port
|
||||
Scenario: Use no permalink schema
|
||||
Scenario: Use pretty permalink schema
|
||||
Scenario: Highlight code with pygments
|
|
@ -0,0 +1,11 @@
|
|||
Feature: Site data
|
||||
As a hacker who likes to blog
|
||||
I want to be able to embed data into my site
|
||||
In order to make the site slightly dynamic
|
||||
|
||||
Scenario: Use page variable in a page
|
||||
Scenario: Use site.time variable
|
||||
Scenario: Use site.posts variable
|
||||
Scenario: Use site.categories variable
|
||||
Scenario: Use site.categories.life variable
|
||||
Scenario: Use site.related_posts variable
|
Loading…
Reference in New Issue