gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
279 stars 103 forks source link

Add initial test for NSStackView, also adding tests for other new classes... #213

Open gcasa opened 1 year ago

gcasa commented 1 year ago

I am going to incorporate many of the independent tests into GUI's test suite as well as add some additional logic to check that things are being positioned / computed correctly.

gcasa commented 7 months ago

These are simple tests that only test the loading of these new classes. They are a start for more in depth tests.

fredkiefer commented 7 months ago

With this sort of tests I am a bit unsure where we should put them. The tests in the libs-gui/Test directory are intended to be run from the CI pipeline. And these new tests don't make much sense in this respect. Maybe we could put them into the examples project? On the other hand nobody ever executes the tests there. Maybe a new directory in the libs-gui project would do? As I said, I am unsure here and maybe we should start a discussion on the mailing list?

gcasa commented 7 months ago

With this sort of tests I am a bit unsure where we should put them. The tests in the libs-gui/Test directory are intended to be run from the CI pipeline. And these new tests don't make much sense in this respect. Maybe we could put them into the examples project? On the other hand nobody ever executes the tests there. Maybe a new directory in the libs-gui project would do? As I said, I am unsure here and maybe we should start a discussion on the mailing list?

I think that moving them to examples would be sufficient. I really would like more tests in gui but I am not entirely sure what kind of tests we can add as gui is harder to test.

gcasa commented 7 months ago

Per discussion i am going to move these to the examples directory.