nholthaus / gtest-runner Goto Github PK
View Code? Open in Web Editor NEWA cross-platform, Qt5 based Graphical User Interface for Google Test unit tests
License: MIT License
A cross-platform, Qt5 based Graphical User Interface for Google Test unit tests
License: MIT License
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);
}
Fixed by 2a04c29.
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.
Need button/dialog that allow setting the GTest command line options on a per test basis. Supported items:
When I set the Repeat Tests to -1 ,it will loop forever.
How to change the settings to sleep 60 seconds after one test?
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.
Is it possible to run all tests from all executables?
Is it possible to add "run test" for specific test from the test list window ?
The same option for test group will be great.
This repo looks very promising: QDarkStyleSheet
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.
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!
<failure message="unknown file
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>
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.
at present, neither the manual button or auto-run disallow having multiple instances of the same test running at the same time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.