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 »

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: 4193
Joined: Sun Jan 03, 2010 5:45 pm

Re: Using Catch2 testing tools with wxWidgets

Post 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.
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 »

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: 4193
Joined: Sun Jan 03, 2010 5:45 pm

Re: Using Catch2 testing tools with wxWidgets

Post 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
Post Reply