Working With FitNesse Wiki PagesFitNesse provides an easy-to-use wiki to create web pages that are run as tests. Test pages have a button on them allowing all the tests on the page to be run, so any user can go to that page and click the button at any time, and see if the tests are passing. Also, FitNesse provides means to automatically run tests, so it can be easily added to your automated build scripts.
So what does a test page look like? A page name has the form of a >Wiki Word. A >Wiki Word consists of two or more concatenated words, each word begins with a capital letter.
Although FitNesse is about writing acceptance tests, you'll probably want to study these tips for using the wiki:
|Editing FitNesse Pages||An intro to creating and changing FitNesse pages using the wiki markup language.|
|Shortcut keys||The shortcuts for the buttons.|
|Markup Language Reference||A reference for formatting FitNesse pages using the wiki markup language.|
|Sub-wikis||How to create hierarchies of FitNesse pages.|
|Wiki Import||Importing wiki pages from a remote FitNesse server.|
|Page Properties||Enabling and disabling page properties (also called attributes).|
|Symbolic Links||Dynamically altering the wiki page structure.|
|Refactoring pages||Renaming, moving and deleting existing pages.|
|Where Used||Finding out which pages reference the current page.|
|Headers and footers||Specifying Headers and Footers for wiki pages|
|Files section||The location for attachments, images, etc.|
|External HTML pages||In case you've already written some pages in HTML and want to use then in FitNesse|
External editorsSince FitNesse stores its wiki pages as files on disk, it's also possible to edit pages with a external editor, such as Notepad, Sublime text, Eclipse or IntelliJ.
Keyboard Shortcuts ?
- t Test page or suite
- e Edit page
- v View page (after test)
- a Add new page
- g u User Guide
- g q Quick Reference Guide
- g f Full Reference Guide
- g c Recent Changes
- CTRL+s Save page
- ESC Cancel edit
- p Properties
- w Where used?
- AK+v Versions
- AK+h Page History
- / Focus on search bar
- s Open search page