After recently getting to know Catch2, I would very much like to use it to test some functionality of a wxWidgets project. All of the simple examples I have seen run basically as a console app. Others I have seen, are used to instantiate and test a full class. There are some examples which show how to set things up to allow the user to create his own main() function, but I have not found an example which shows me how to incorporate the works into my app.
What I think I need is to find way so that I can pass in a pointer to the main frame class which would allow me to test member functions.
If I can also start the test from either a menu or tool bar and hopefully capture the output for logging or display in the GUI, that would be even better.
At this stage I have no working code at all. Though I have looked at the tests within the wxWidgets distribution for 3.1.3 and found some use of Catch2, but nothing that I could find, covers what I think I need.
Running with wxWidgets 3.1.3 under Win 10 & using MSVC 2019