libs-gui icon indicating copy to clipboard operation
libs-gui copied to clipboard

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

Open gcasa opened this issue 2 years ago • 4 comments

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 avatar Nov 27 '23 12:11 gcasa

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

gcasa avatar Apr 21 '24 10:04 gcasa

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?

fredkiefer avatar Apr 21 '24 17:04 fredkiefer

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 avatar Apr 22 '24 13:04 gcasa

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

gcasa avatar Apr 25 '24 06:04 gcasa