Coder Social home page Coder Social logo

nholthaus / gtest-runner Goto Github PK

View Code? Open in Web Editor NEW
267.0 17.0 68.0 2.65 MB

A cross-platform, Qt5 based Graphical User Interface for Google Test unit tests

License: MIT License

C++ 95.70% Batchfile 0.07% C 0.11% CMake 4.12%
google-test graphical-user-interface dark-theme qt5 cross-platform cpp

gtest-runner's People

Contributors

aedrax avatar apeltauer avatar cmccambridge avatar gammasoft71 avatar nholthaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtest-runner's Issues

Tests can not run in gtest runner

I try to run a gtest project in gtest runner.but nothing happened.No logs and errors.
Is there any demo project can help?

main.cpp:

#include "stdafx.h"
#include "gtest\gtest.h"
#include "Test.h"

int main(int argc, _TCHAR* argv[])
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
Test.cpp:

#include "stdafx.h"
#include "Test.h"

TEST(Test, Success)
{
EXPECT_EQ(0, 0);
}

TEST(Test, Failure)
{
EXPECT_EQ(0, 2);
}

Reduce failure selection to just the file and line number

Currently, when using the next/prev failure buttons, the entire failure text is selected, from the [ RUN ] to the [ FAILED ] statement. Instead, only the file/line number should be selected, which would be consistent with the selections when a failure is clicked on in the failure dock.

Per-test advanced configuration

Need button/dialog that allow setting the GTest command line options on a per test basis. Supported items:

  • gtest_filter
  • gtest_also_run_disabled_tests
  • gtest_repeat
  • gtest_shuffle
  • gtest_random_seed

Debug/Release labels for Visual Studio generated tests

On windows, when developing with Visual Studio it's plausible that a user will want to look at both Debug and Release tests in the same instance. Since they both have the same executable base-name, they'd wind up with the same name in the dock.

The current work-around is to hover over the test until the path tool-tip pops up, but it might be nice if the configuration showed up with the test name without the need to hover.

right click on test -> run test

Is it possible to add "run test" for specific test from the test list window ?

The same option for test group will be great.

Test case selection should persist across test runs

Currently, any selected test case becomes de-selected if a test is rebuilt/rerun, which can be annoying if you are trying to watch a specific case or value. Change the code so that the case is re-selected after a test run if it is still valid.

Option to clear console each run

The manual "Clear" functionalty on the Console window works great, but it would be great to have an option to automatically clear the console output window each time a test is run.

Appreciate this great project!

SEH exceptions are not parsed properly

<failure message="unknown file&#x0A;SEH exception with code 0xc0000005 thrown in the test body." type="">
    <![CDATA[unknown file SEH exception with code 0xc0000005 thrown in the test body.]]>
</failure>

kill test context menu action

Add an action to the executable context menu to kill a running test. The action should prompt the user for confirmation, and be disabled if no test is running.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.