-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove gtk dependency for client_test.go #149
Comments
There is no test harness at all for the CLI yet, but enough serious people are using the CLI, that maybe one will get written eventually. I just fixed |
I'm proposing a test layer that works for the GUI, cli and the daemonised client version I've written. The issue is to try and get consensus about an approach before I write a bunch of code that will never get mainlined. |
I've no opinion really but this seems worth highlighting : Those uiState* messages sent by the GUI for test routines should mostly make sense from the CLI too. If someone added appropriate It's not particularly exciting work, but it's much easier than building new tests. And it's a reasonable exercise for someone who wants to become more familiar with the Pond code base, perhaps if some student did a project on Pond. |
This #165 lets you at least run the tests without gtk. |
Looks like #165 was merged, so let's close this for now. I don't feel like it's fully resolved but all the approaches I have mocked up so far which are able to unify the cli / gtk gui and other future guis are too baroque. At least this lets everyone at least share additions / extensions to the core tests. |
I kicked it around a bit, but abstract_gui is wired into GTK design as well in the code so it's not a great test model for the cli client.
Is there a simple approach you'd feel happy with?
The text was updated successfully, but these errors were encountered: