Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Boost.Test framework #342

Open
1 task done
hedayat opened this issue Mar 29, 2022 · 8 comments
Open
1 task done

Add support for Boost.Test framework #342

hedayat opened this issue Mar 29, 2022 · 8 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@hedayat
Copy link

hedayat commented Mar 29, 2022

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.

@matepek matepek added the enhancement New feature or request label Apr 26, 2022
@matepek
Copy link
Owner

matepek commented Apr 29, 2022

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

@hedayat
Copy link
Author

hedayat commented Apr 30, 2022

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.

@matepek
Copy link
Owner

matepek commented May 2, 2022

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

@hedayat
Copy link
Author

hedayat commented May 2, 2022

OK, I'll try to do it soon.

@hedayat
Copy link
Author

hedayat commented May 2, 2022

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.

@matepek
Copy link
Owner

matepek commented May 3, 2022

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.

@hedayat
Copy link
Author

hedayat commented May 3, 2022

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.

@matepek
Copy link
Owner

matepek commented May 19, 2022

Downloading the complete boost please.

@matepek matepek added the question Further information is requested label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants