Giter Club home page Giter Club logo

cpputesteclipsejunotestrunner's People

Contributors

tcmak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cpputesteclipsejunotestrunner's Issues

EOL on windows

Hi,

I'm using your runner with Eclipse Mars.2 and CppUTest 3.7.1 on windows with cygwin.
The messages are displayed on a single long line and are hard to read. Are the line ending characters not handled correctly?

cpputest

In the console the text is nicely formatted:

console

Tests Runner cannot be instantiated

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!

Is the Test Runner supported in Eclipse Neon.3?

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)

Red bars in Windows

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.

How to install this in Eclipse

  1. It would be nice to have an installable package (I'm having trouble building this -- don't usually do Java or Eclipse projects. That should be obvious, because I'm using CppUTest).
  2. A few words of instructions about how to install this in Eclipse would be nice, preferably manually.
  3. What about Indigo, Kepler? Is your plugin still compatible with those versions of Eclipse?
  4. What would need to be improved in CppUTest for better integration? (I could probably answer this myself once I get it to work).

Code should handle multiple tests and groups

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).

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.