Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Unit testing support for Eclipse CDT

Unit Test Support plugin was updated (feature version 4.0.1). This update is focused on performance and quality improvement:
  • The most visible one is improvement of performance for UI when the tests are running.
  • There are a lot of fixes and improvements in Tests Runner Plugins:
    • Boost.Test Runner: exception handling fixture;
    • Qt Test Runner: added support for benchmarks & data tags;
    • Google Test Runner: added test traces support and better support for parametrized & typed test cases.
  • Stop action was implemented.
  • Test messages ordering may be turned on/off.
A few API features were also implemented and may be useful for Tests Runner plugins developers:
  • A simple framework for Tests Runner plugins testing;
  • Tests execution time measurement is done in Core. It may be useful for testing frameworks that does not support time measurement natively (see also Qt Test Runner that uses it);
  • Data stream selection (output or error).

It is the last standalone version of plugin (if no critical issues will be found). I am planning to add debug support (requires changes in CDT, so cannot be provided in standalone version), slightly clean up the code and start the process of contribution it to CDT. So please, report any issues you found.


-------- Original message --------
Unit Test Support plugin was updated (feature version 3.0.1). New features:
  • Rerunning of the selected tests or test suites was done (via context menu of testing hierarchy). Multiple selection for rerun is supported for Qt.Test & Google Test (Boost.Test does not support this feature).
  • Test runs history was implemented (running testing sessions in parallel mode is also supported).
  • Message filters by level were supported.
  • Error handling was improved if a test module terminated unexpectedly.
I have updated the project wiki, so you can take a look at new screenshots here.

It seems, the last major feature that is missing yet, is debug support. I will try to implement it for the next update. Certainly, a lot of small features (for example, UI performance should be improved) should be added too, so any feedback on my work will be appreciated. Stay tuned!


-------- Original message --------
Unit Test Support plugin was updated (feature version 2.0.1). The most important:
  • Google Testing Framework support;
  • show failed only filters;
  • plain view of testing hierarchy;
A few important bugs were fixed (in particular, failure messages reset, reported by Axel Müller).


-------- Original message --------

I am working on the unit testing support for Eclipse CDT. It means integration of existing C/C++ unit testing frameworks (such as Boost.Test, Qt Test, Google Testing framework, CPPUnit, ...) into Eclipse like JUnit support is done. I want to contribute it to the CDT repository at one point, so I need your feedback.

Currently, these features are supported:
  • Tests running with support of the following frameworks:
  • Tests hierarchy browsing in a separate view.
  • Test messages viewing, filtering by test case or test suite. Source lookup is also supported.
  • Testing statistics (total/failed/aborted tests count, red/green bar).
  • Testing time measurement.
  • The list of provided tests runners may be easily extended writing a new Tests Runner Plugin.
If you want to try it yourself, here is an instruction how to do it (a few screenshots are also there). You can also see known problems & planned features here. Here is a git repository (synchronized with yours), that contains 3 new projects and a few changes in CDT sources.

So I want to know your opinion about current functionality features, what is missing and should be implemented. Comments about source code are also appreciated. If you have any questions - feel free to ask.

_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx

_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx

_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx

Back to the top