Getting Started

Connect Checkbox

The Checkbox needs a 5V DC Power Supply. Connect the power supply on the left side of the Checkbox. The Checkbox automatically starts.

Thereafter plug in a USB-C Cable on the left side of the Checkbox and connect it with your PC.

PC Software

Due to the early prototype state, the software is not available online at the moment. If you want to install, contact us via E-Mail under info@emintes.de

Install the Software on your PC and start it.

If you start the Software and you have connected the Checkbox with your PC, on the bottom left of the Program you should see a green connected label. If you see this: Congratulation, you are now ready to start with your first test project.

Software Main Window

Create New Project

In the menu bar on the top select File –> New Project. In the dialog enter a Project Name and select a folder where your testfiles should be located.

Enable both checkboxes.

Create Project Folder means that the program will create a folder in which all testfiles and the project file will be located in. If you dont check this box, all files will be located directly in the folder you have choosen.

Create Basic Testfiles will help you to start and will create a little test as an entry point for you.

New Project Dialog

Run Your First Test

On the left side you now see your first 3 Teststeps:

Software Main Window - Your First test

At this point its time to run your first test. Just press the Start Test Button and see what’s happening:

  • First: all the Testfiles will be copied to the Checkbox

  • Thereafter the Test will start automatically.

Software Main Window - Your First Test Run

If you want, you can click on the Export Report button to export your first testreport. Testreports will be opened in the Browser as HTML file. If you want to save it as PDF, you can use a PDF Printer and print it from your browser.

Edit Teststeps

The test list on the left is an image of the functions in the test file. The test step name always consists of two parts: Name of the test file + name of the test function in the file.

With the Checkboxes you can choose if the step should be executed or not. In the # Runs column you can enter how often this teststep should be executed.

With the Icons under the List you can: * Delete a Teststep (it’s not really deleted, it’s just excluded) * Add an excluded Teststep or add an already existing Teststep a second time (or as often as you want) * Move a selected Teststep up and down to change the order of execution * The synchronisation button on the right you normally don’t need, it’s just in case that the file-synchonisation does not work (see next paragraph)

The program synchronizes automatically the teststep list with the content of the projectfolder. This means: If you add a new testfunction or rename it in a testfile (and save the file), it will automatically appear in the List.

It’s time to try it:

If you have installed Visual Studio Code you can open the Project Folder via Tools –> Open Project Folder in VS Code. If not, navigate to the Projectfolder you have choosen and open the MeinTest.py file in a Texteditor.

In the MainTest.py File you can find the definition of the 3 Teststeps you have seen. In the doSomething function there is only a printout. Add this line in the function:

async def doSomething():
    #test something here
    print("Test Something")
    report.putPassed("Hello World")

Note

Due to the multitasking all Testfunction have to by alway async!

Without async prefix it’s not a valid testfunction and will not appear in the Software.

Save your changes and go back to the Testplatform Program and press the Start Test Button.

As the test file has been changed, it is now copied to the checkbox again. (This file Transfer will only happen if something was changed locally)

If the Test finished, you can see your new passed “Hello World” step:

Software Main Window - Your First Test Run

Congratulation! You now know the most important basics to work with the Testplattform.

You can now step into the documentation and see which functions the Testframeworks provide for you.

Testframework