
Captain's Log: Stardate 77916.5
Today I continued to slog through all the unit tests on MacOS to get more of them working. I got pretty much all of the tests that do not involve OpenCL working, which is very nice.
Most of the problems that gave me grief had to do with the fact that JUCE is really just not designed to make apps that are easily testable. I had found some hacks on Windows that worked well enough, but the same kinds of hacks on MacOS just lead me to a dead end -- OS-level GUI stuff that wasn't playing along.
So, I finally broke down and solved the issue in a more general way, which is to run all the unit tests in a JUCEApplication. This means that the tests are actually running in a full JUCE app, so they have access to all the environmental stuff that JUCE sets up behind the scenes via the app machinery.
This annoys me, because it removes a lot of isolation between the tests. Before, I had hacked a way to destroy and recreate the GUI state between tests, so they couldn't interfere with one another. But now they all use the same application state, etc.
Still, it's nice to have most of the tests passing. I think now I just need to clean up some of the ridiculous hacks I've done for the MacOS support and I can leave it alone for the moment.
Founder and Developer of Anukari

The Audio Units logo and the Audio Units symbol are trademarks of Apple Computer, Inc.

VST is a trademark of Steinberg Media Technologies GmbH, registered in Europe and other countries.
Captain's Log: Stardate 78674.7
Evan Mezeske
Mar 2025

Captain's Log: Stardate 78275.5
Evan Mezeske
Oct 2024

Captain's Log: Stardate 78006.4
Evan Mezeske
Jul 2024

Captain's Log: Stardate 77836.9
Evan Mezeske
May 2024
