Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

nickisnoble/ghost-theme-unit-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

The Ghost Theme Unit Test

An importable file of test cases for Ghost themes. It's based on the concept (and the content!) of the WordPress Theme Unit Test.

This step in Theme testing correlates to a Ghost export (json) file that you can import into a Ghost installation to test your theme. To be clear, this is only one of many ways you should/could test a theme.

Getting Setup

Assuming you've already gotten Ghost set up locally and it is running your theme, here are the steps to setting up the unit test:

  1. Download this repo.
  2. Go to the labs section of your Ghost installation's settings (http://example.com/ghost/settings/labs/)
  3. Click the red 'Delete' button to clear the database of all existing content, and confirm (this gives us a clean slate)
  4. Click 'Choose File' under Import
  5. In the resulting file picker, navigate to wherever you downloaded the repo and select the json file.
  6. Click the blue Import button.

Testing

Each post or page is usually pretty self explanatory, or has instructions included. Have fun!

License

Released under the WTFPL.

Contributing

Submit a pull request, or complain loudly on Twitter @nickisnoble!

About

An importable file of test cases for Ghost themes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published