Using Catch2 testing tools with wxWidgets

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
nona
Knows some wx things
Knows some wx things
Posts: 32
Joined: Fri Apr 20, 2018 2:49 pm

Using Catch2 testing tools with wxWidgets

Post by nona » Tue Aug 14, 2018 3:24 pm

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 ?

PB
Part Of The Furniture
Part Of The Furniture
Posts: 2057
Joined: Sun Jan 03, 2010 5:45 pm

Re: Using Catch2 testing tools with wxWidgets

Post by PB » Tue Aug 14, 2018 3:54 pm

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.

nona
Knows some wx things
Knows some wx things
Posts: 32
Joined: Fri Apr 20, 2018 2:49 pm

Re: Using Catch2 testing tools with wxWidgets

Post by nona » Tue Aug 14, 2018 4:44 pm

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

PB
Part Of The Furniture
Part Of The Furniture
Posts: 2057
Joined: Sun Jan 03, 2010 5:45 pm

Re: Using Catch2 testing tools with wxWidgets

Post by PB » Tue Aug 14, 2018 5:12 pm

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

Post Reply