Jump to content

Eli Jordan

Member
  • Posts

    3
  • Joined

  • Last visited

Eli Jordan's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I gave this a shot, just to see if its possible. However, from what I could tell the items in the Alfred UI list are not accessible through "System Events" and the accessibility API. So, I don't think its even possible. I'm not sure if any of the developers of Alfred monitor this forum, but it would be interesting to get their feedback on whether this is something that is possible.
  2. In the world of web application, there are tools such as selenium that allow you to create automated UI tests. I guess I was imagining that you might be able to do something similar with apple script to interact with the Alfred UI. Regarding splitting out libraries and adding unit tests. Thats something I'm planning on doing, I'm working on unit tests now. I'll split out a library at some point, maybe when I start developing another workflow. I have also created a plugin for sbt (Scala's main build tool) to package workflows, which is something I haven't seen in the other workflows I have looked at. Yep, I've seen that. I used a lot of the ideas I saw in that library and the python equivalent when bootstrapping this workflow. Being able to copy patterns that work was super valuable A big part of the reason for writing this workflow was to get a chance to try out Graal native-image which allows compiling JVM applications into native binaries. So, I had to build from scratch rather than using one of the existing libraries.
  3. Hi I'm pretty new to Alfred, I've only been using it for a few weeks. Its a great productivity tool, and I really like that it has a plugin model (i.e. workflows). I have started writing a workflow here https://github.com/eli-jordan/alfred-jenkins (it's not published yet, since I'm still working on it). However, I've found it pretty frustrating to have to constantly manually run a set of "regression" tests on the code when I make changes. Has anyone tried to write automated tests that invoke alfred and verify the items the are returned? If not, how do people test the integration points between their code, the config in the Alfred workflow UI and Alfred itself?
×
×
  • Create New...