Skip to content
CountrySideEngineer edited this page May 3, 2023 · 6 revisions

About

This page describes about googletest_gui application. It is an application to run tests using googletest framework, check the result of them, and show the results of them.

How to use.

In this section, how to use the application.

  1. Click "参照" button and select .exe file to run tests, developed using googletest framework.

After selecting the .exe file, window of the application will show the tests in list like below.


  1. Select test case(s) to run by checking the checkbox in each left side of the test cases.

  1. Click "実行" button to exeucte tests selected by user, then the application will run the tests.

  2. After the all selected tests run, the result of them will be shown in "結果" column. If the test is passed, the cell will be "OK" otherwise "NG" in red background.


  1. To know detail of the test infromation, click "詳細" button and the information view will be displayed like below.

Result of test execution

This applicatoin creates logs and report files as a result of test execution. They are generated in the log directory. The structure of the log directory is as shown below...

  • log
    • "TestFileName(WithoutExtention)"
      • "output"
      • "report"

The "output" directory contains a file containing the contents displayed on the standard output during program execution in text format. The "report" directory contains xml files the google test framework outputs as test report.
The xml files are generated by google_test framework using "xml:path_to_output_file" option.
About the result of the xml option and tags of the reports, please see the google_test and Generating an XML Report page.

Clone this wiki locally