Skip to content

Latest commit

 

History

History
executable file
·
209 lines (176 loc) · 6.05 KB

TestPlan.org

File metadata and controls

executable file
·
209 lines (176 loc) · 6.05 KB

Introduction

This is an informal test plan for Org2Blog. It only includes commands. Reviewing each of them will give you a sense of how the system works. Perhaps reviewing the smallest units of functionality is a better way to learn the system compared to studying it all once. In service of those goals, just enough detail is provided here to make sense of testing without becoming mind numbingly painful.

The tests are split up logically and informally. The prerequisites are obvious. For example you need a blog before you can post, and you need a user before you can log in. Each test has some notes about what should happen, maybe along with a reference. All of the commands are also accessible by the UI if that is easier for you. Ideally you test the command directly and also via the UI.

The easiest way to use this is to copy this file to your computer and check off items as you go. Please submit improvements and corrections. Have a pleasant test run!

Information

These are user facing system information commands.

  • [ ] Commands
    • [ ] org2blog-about
      • Verify all URLs
    • [ ] org2blog-user-interface
      • [ ] Main Menu
        • It should load
      • [ ] Insert Menu
        • After creating a post try inserting everything
      • [ ] Variables Menu
        • Load every value
    • [ ] org2blog-readme
      • It displays. Is savable.
    • [ ] org2blog-version-info
      • Version numbers display

Key Bindings

  • [ ] Commands
    • [ ] org2blog-reload-entry-mode-map: change prefix
    • [ ] Compare bindings with UI

General Entries

These are commands that insert markup into your post.

  • [ ] Commands
    • [ ] org2blog-insert-latex
    • [ ] org2blog-insert-mathjax
    • [ ] org2blog-insert-more
    • [ ] org2blog-insert-link
      • Insert a link to your blog
      • [ ] Post
      • [ ] Page
    • [ ] org2blog-org2blog-keyword-check
      • Inserts the #+ORG2BLOG keyword in the first open line it finds to test a few out. It works the same in buffer and subtree pages
    • [ ] org2blog-complete
      • Completes categories, tags, and parent.
      • Position cursor all over the line
      • Use empty and populated lines: one place it won’t complete is at the keword closing colon, so read the error message there
      • [ ] Buffer
        • [ ] Post
          • [ ] Category
          • [ ] Tag
          • [ ] Parent
        • [ ] Page
          • [ ] Category
          • [ ] Tag
          • [ ] Parent
      • [ ] Subtree
        • [ ] Post
          • [ ] Category
          • [ ] Tag
          • [ ] Parent
        • [ ] Page
          • [ ] Category
          • [ ] Tag
          • [ ] Parent
    • [ ] org2blog-entry-trash-prompt
      • [ ] Page
      • [ ] Post
    • [ ] Image Attachments
      • [ ] Single file
      • [ ] Two files

Tracking

  • [ ] Handle when no tracking is configured
  • [ ] When using the Org dir
    • [ ] Buffer
      • [ ] Post
      • [ ] Page
    • [ ] Subtree
      • [ ] Post
      • [ ] Page
  • [ ] When using the configuration file specified dir
    • [ ] Buffer
      • [ ] Post
      • [ ] Page
    • [ ] Subtree
      • [ ] Post
      • [ ] Page

Buffers

  • [ ] Commands
    • [ ] org2blog-buffer-new
    • [ ] org2blog-buffer-post-save
    • [ ] org2blog-buffer-post-view
    • [ ] org2blog-buffer-post-publish
    • [ ] org2blog-buffer-post-trash
    • [ ] org2blog-buffer-page-save
    • [ ] org2blog-buffer-page-view
    • [ ] org2blog-buffer-page-publish
    • [ ] org2blog-buffer-page-trash

Subtrees

  • [ ] Commands
    • [ ] org2blog-subtree-new
    • [ ] org2blog-subtree-post-save
    • [ ] org2blog-subtree-post-view
    • [ ] org2blog-subtree-post-publish
    • [ ] org2blog-subtree-post-trash
    • [ ] org2blog-subtree-page-save
    • [ ] org2blog-subtree-page-view
    • [ ] org2blog-subtree-page-publish
    • [ ] org2blog-subtree-page-trash

Source Blocks

  • [ ] Without SyntaxHighlighter Evolved
    • [ ] Caption
    • [ ] Name
  • [ ] With SyntaxHighlighter Evolved
    • [ ] Caption
    • [ ] Name

LaTeX

  • [ ] Built-In
    • [ ] Inline
    • [ ] Environment
  • [ ] MathJax
    • [ ] Inline
    • [ ] Environment

User

  • [ ] Commands
    • [ ] org2blog-user-login
      • Area above UI shows login status
      • Messages shows statistics
    • [ ] org2blog-user-logout
      • Area above UI shows logout status
    • [ ] org2blog-user-report
      • When enabled there are a lot of SSL messages happening
      • Disable it and they are not
  • [ ] Hooks
    • [ ] org2blog-mode-hook
      • A good place to create keybindings, check that they are set
    • [ ] org2blog-buffer-entry-save-hook
      • Add the sample hook from the docsring and veriy that it works.
    • [ ] org2blog-maybe-start
      • Open an ORG2BLOG file verify mode starts
    • [ ] org2blog/wp-after-new-post-or-page-functions
      • Use the pp example from README

Code

  • [ ] Review Every Artifact For TODO Entries

Installation

  • [ ] Download source and use that
  • [ ] Create a package and install it
    • [ ] Update build.sh
    • [ ] Verify it has expected files
      • [ ] Source
      • [ ] Documents
      • [ ] Images
    • [ ] Study Installation
    • [ ] Test package
      • Start a separate Emacs instance with an awareness of how Emacs is loading Org2Blog from where
  • [ ] MELPA Package
    • [ ] Update recipe
    • [ ] Verify it has expected files
      • [ ] Source
      • [ ] Documents
      • [ ] Images
    • [ ] Study Installation
    • [ ] Test package
      • Start a separate Emacs instance with an awareness of how Emacs is loading Org2Blog from where

Documentation

  • [ ] README.org
    • [ ] Contains information for defcustoms
    • [ ] Table of Contents has been rebuilt
  • [ ] Spell check

README

  • [ ] Standard
  • [ ] Badges
    • [ ] Github Shields
    • [ ] Versions

Other

  • [ ] Contributing
    • [ ] Standard
  • [ ] ISSUE_TEMPLATE
    • [ ] Standard