Organizing Tests Help Index Running Tests

How do I write tests in Testuff?

Writing tests in Testuff is super easy! Here’s how it’s done:

  1. Go to the Tests tab.
  2. Either edit a test by double clicking it, or create a new one via right click.
  3. The test editor will load. Enter the test name at the topmost text box.
  4. Simply write out the test steps separating each one with a blank line in between (hit the Enter key twice after each step). Add text formatting as you like.
  5. To indicate an expected result, type => and write the expected result after it.
  6. To add preconditions, use the first lines of the test editor as preconditions and then tick the Treat first lines as preconditions option at the bottom of the screen.
  7. You can attach a file to the test by simply clicking the attach a file link at the top part of the test editor, and then selecting the file.
  8. Don’t forget to save the test via the link. You may also do so via the Ctrl+S keyboard shortcut, save & close via Alt+Enter, or close without saving via Esc.

Do you have an example of a test?

Yes. Notice the sample suite that was created automatically in your default project. It has several example tests. Here’s one:

Test Name: Re-saving
Pre-conditions: Notepad is installed
Test Steps:
Open Notepad

Type in some text

Save the file 
=> File should be saved properly with the content

Type in some more text

Save again 
=> No file dialog should appear

=> File should be saved properly with the new content

What is the estimated time for?

You can estimate how long the test should take to execute. Testuff also automatically measures test run time so you can improve your test management and planning. If you don’t know or are not concerned how long tests take to execute, simply leave it empty.

Test Priority

You can now control the priority of each test you create. Testuff currently supports three levels of priority: high, normal and low. If you don’t need to prioritize your tests, just leave it as it is.

Are there any keyboard shortcuts in the test editor?

Yes! They are:

Save Ctrl+S
Save and close Alt+Enter
Close Esc
Select all Ctrl+A
Bold Ctrl+B
Underline Ctrl+U
Italics Ctrl+I
Links Ctrl+K
Undo Ctrl+Z
Redo Ctrl+Y
Go to step Ctrl+G (Cmd+J on a Mac)

Organizing Tests Help Index Running Tests