Software Test |
Software Test Run |
|
|---|---|---|
Content |
Defines the actual test with setup instructions, steps and expected results |
Describes an actual execution of the test on a certain date with certain results. Also, were these results the expected results and did the test pass? |
Exists how often in a Techdoc product |
Once. A specific Software Test is only defined once (in a product version in Formwork). |
Can exist multiple times, because you might "execute" a Software Test multiple times, leading to multiple Software Test Runs |
Requires Review? |
Yes. Your list of Software Tests should be reviewed (and thereby released) before you start executing them. |
No. Just run your tests by creating Software Test Runs. |
So all of this might sound very theoretical. Let's just create a Software Test Run and then you'll see what I mean. It's very intuitive (famous last words).
First off, navigate to "Products" in the top menu of Formwork and then to "Software Test Runs" in the left menu. Note that, for a hardware device, they might be referred to as "System Test Runs". Here's what you see:
Let's create a new Software Test Run:
- Internal ID: Internal ID of the test run, assigned automatically.
- Title: Describe what you tested, e.g. "Test run before first release" or so.
- Description: A more in-depth description of e.g. your test setup. Which hardware, software and configuration did you use etc.
-
Software Tests: This is the most important part. Here, you select the Software Tests which you actually plan to execute next. Think of it like a restaurant menu: You've defined the menu items already (as Software Tests), but now you're choosing which to "cook" (= run).
If this is a major testing session, you might select all of your tests; or you might just select a few tests if e.g. you want to re-run a specific set of tests due to some recent failures or so.
If you scroll further down, you can see the first Software Test which is part of this Software Test Run (SWT-1). It has the status "Success". You can see the instructions, steps and expected results below.
Now! The main goal of a Software Test Run is to provide you with a list of Software Tests which you should run, so that you can record their results. And as we've seen, we are at the top of this list and currently looking at the first Software Test, SWT-1.
So now we can actually click on this test to enter results. Here's how that looks:
Then you scroll down to the next test which could be SWT-2, and perform the same thing, and so on.
So, again, a Software Test Run is kind of like a "protocol" for you: It outlines which Software Tests you should go through, shows you the setup instructions, steps and expected results, and you write down the actual results and outcome of each test. Easy.
So that's testing. Wasn't that simple?
I guess you only appreciate the full simplicity of this workflow if you've ever done this sort of test documentation in Google Sheets (ugh), a GitHub markdown repo (good luck with the tables) or Jira (no comment). Formwork is way faster.