Page 1 of 1

Using Catch2 testing tools with wxWidgets

Posted: Tue Aug 14, 2018 3:24 pm
by nona
Hi all,

I found catch2 as a useful automation testing tool I could only test c++ console application with it. my question is Can I use it with GUI application or not :-k ?

Re: Using Catch2 testing tools with wxWidgets

Posted: Tue Aug 14, 2018 3:54 pm
by PB
AFAIK wxWidgets use it also for GUI testing, see "Writing GUI-specific tests" in WXWIN/docs/contributing/how-to-write-unit-tests.md and the tests themselves in the WXWIN/tests folder.

Re: Using Catch2 testing tools with wxWidgets

Posted: Tue Aug 14, 2018 4:44 pm
by nona
PB wrote:AFAIK wxWidgets use it also for GUI testing, see "Writing GUI-specific tests" in WXWIN/docs/contributing/how-to-write-unit-tests.md and the tests themselves in the WXWIN/tests folder.

Thanks for your reply but I do not know where I should find this file WXWIN/docs/contributing/how-to-write-unit-tests.md

Re: Using Catch2 testing tools with wxWidgets

Posted: Tue Aug 14, 2018 5:12 pm
by PB
WXWIN is used for the folder where wxWidgets are, e.g., c:\wxwidgets-3.1.1

You can also view the file in the git source tree:
https://github.com/wxWidgets/wxWidgets/ ... t-tests.md