cgreen-devs / cgreen

A modern, portable, cross-language unit testing and mocking framework for C and C++
ISC License
175 stars 47 forks source link

CUTE reporter per test time invalid #311

Closed tpecar closed 1 year ago

tpecar commented 1 year ago

Caused by failing to supply the actual time value to printer

https://github.com/cgreen-devs/cgreen/blob/b81b00c63eb2c395b1e9144280a01555e9d0ed2b/src/cute_reporter.c#L104

thoni56 commented 1 year ago

(Maybe) fixed by 5b2250a.

tpecar commented 1 year ago

Thanks for the quick response and fix, it should be adequate for now.

The CUTE reporter does not have any special parsing for time information, it expects test name, space, and considers the rest as detailed information which is displayed in the info pane.

The actual parser implementation is at

https://github.com/Cute-Test/cdt-plugin/blob/develop/CUTEProject/bundles/ch.hsr.ifs.cute.core/src/ch/hsr/ifs/cute/core/event/CuteConsoleEventParser.java