tcmak / cpputesteclipsejunotestrunner Goto Github PK
View Code? Open in Web Editor NEWCppUTest Test Runner for Eclipse Juno or above
CppUTest Test Runner for Eclipse Juno or above
I have tried to create a run configuration on eclipse juno for a cpputest project, where the compilation is achieved via an scons script (I don' t think this is relevant, but anyways, just to inform) When the unit test application is set up, I select CppUTest as the tests runner, write the application name into the required location. As build configuration I select the active one ( which triggers the scons, so that's fine) There's no other change, then I press OK
However, when I run the configuration I get this "Tests Runner cannot be instantiated" error. Any idea why?
Thanks in advance!
Error Message:
An internal error occurred during: "Launching CppUTestRunner".
java.lang.NullPointerException
Using CppUTest 3.6 and Eclipse Mars.1 Release (4.5.1)
Any ideas? I followed everything perfectly fine from this tutorial https://github.com/cpputest/cpputest/tree/master/platforms/Eclipse-Cygwin
I'm using Eclipse Neon.3 Release (4.6.3). I getting the exception below when I try to invoke the TestRunner. I believe I have installed everything correctly. The unit tests all run and pass when run directly from the command line.
Thanks
Peter
Exception in thread "Thread-12" java.lang.StringIndexOutOfBoundsException: String index out of range
: -9
at java.lang.String.substring(Unknown Source)
at org.eclipse.cdt.testsrunner.internal.cpputest.CppUTestCaseFactory.getErrorMessage(CppUTes
tCaseFactory.java:98)
at org.eclipse.cdt.testsrunner.internal.cpputest.CppUTestCaseFactory.createFailedTestcase(Cp
pUTestCaseFactory.java:74)
at org.eclipse.cdt.testsrunner.internal.cpputest.CppUTestCaseFactory.create(CppUTestCaseFact
ory.java:30)
at org.eclipse.cdt.testsrunner.internal.cpputest.TestIterator.fetchTest(TestIterator.java:36
)
at org.eclipse.cdt.testsrunner.internal.cpputest.CppUTestStdOutputParser.parse(CppUTestStdOu
tputParser.java:20)
at org.eclipse.cdt.testsrunner.internal.cpputest.CppUTestRunnerProvider.run(CppUTestRunnerPr
ovider.java:66)
at org.eclipse.cdt.testsrunner.internal.model.TestingSession.run(TestingSession.java:192)
at org.eclipse.cdt.testsrunner.internal.launcher.TestingProcessFactory$TestingSessionRunner.
run(TestingProcessFactory.java:53)
at java.lang.Thread.run(Unknown Source)
Hi,
I'm trying to use your plugin in Windows in Luna. It works well for passed Tests, but if there is a failed test, the C/C++ Unit tab stops working. I have to stop with the stop button.
Hi I am following your guide to installation, however there is no longer a dropin folder.
Hi there,
* CppUTest Only supports matching Test Groups Names and/or Tests Names.
* Thus this code ignore any input beyond testPaths[0]
Actually, CppUTest could have taken multiple entries all along; however, it would have processed them in a "last one wins" fashion.
Now that I am implementing proper handling of multiple tests and groups, we need the plugin to invoke CppUTest with complete information.
Multiple listings of the same test group won't do any harm, but ideally each test group would be listed only once. For any test to be run, both its group name and its test name must be present (empty test name or empty group name will always match).
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.