vscode-catch2-test-adapter icon indicating copy to clipboard operation
vscode-catch2-test-adapter copied to clipboard

Add support for Boost.Test framework

Open hedayat opened this issue 2 years ago • 8 comments

Checklist

Is your feature request related to a problem? Please describe. No support for Boost.Test framework

Describe the solution you'd like It'd be great to support Boost.Test XML output format which is both machine readable and streaming.

Describe alternatives you've considered I've tried https://marketplace.visualstudio.com/items?itemName=NicNewdigate.boost-test-adapter-debug, but it seems not very active and depends on the old API.

hedayat avatar Mar 29 '22 21:03 hedayat

would you help me creating some examples with which I can use for testing? Here is a branch but it is not working yet: https://github.com/matepek/vscode-catch2-test-adapter/tree/boosttest

matepek avatar Apr 29 '22 10:04 matepek

Sure, what you need? An example XML output is enough? Or a sample code?

As a feature request, it'd be great if you can add your own user arguments for running the test runner binary (they come after -- after the test runner's own arguments). For example:

 ./test_runner --log_level=test_suite --log_format=XML -- --custom-arg=foo --customarg2

Update: Oops, I just saw your commit and seems that you already have a sample code (although probably needs more samples as it'll provide more details in the final output), and you therefore also have sample output. So, I wonder how can I help.

hedayat avatar Apr 30 '22 10:04 hedayat

IF you could fork and make boost test work in this branch that would be helpful

matepek avatar May 02 '22 11:05 matepek

OK, I'll try to do it soon.

hedayat avatar May 02 '22 13:05 hedayat

Well, the main problem is that https://github.com/boostorg/test depends on many other boost libraries. So, I guess you should either fetch a complete boost distribution, or depend on already installed Boost libraries completely.

hedayat avatar May 02 '22 20:05 hedayat

That was I was hoping to be "outsourced" ^^ (With some working examples.) I don't wish to learn boosts just right now.

TBH, I have enough on my plate right now.

matepek avatar May 03 '22 00:05 matepek

Which approach do you prefer? Downloading complete boost with CMake, or using system installed boost; if available? The latter would be much easier for me, as that's what I do always, but needs externally installed boost. But if you want the former, I should look into it; I've seen some people doing it.

hedayat avatar May 03 '22 09:05 hedayat

Downloading the complete boost please.

matepek avatar May 19 '22 15:05 matepek