[Koha-bugs] [Bug 7520] json script to return advanced search types

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 22 07:19:28 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7520

--- Comment #12 from Srdjan Jankovic <srdjan at catalyst.net.nz> 2012-02-22 06:19:28 UTC ---

> * a unit test for this script is needed (and should be easy to write)

I have no idea how to do that. Can you please point me to an example of a koha
test for a CGI request handler.
In general, I have huge problems running Koha test suite. Is there a wiki page
or similar on how to run tests when developing?

> * an example of how/where to use this would be cool.

Sure. In the code?

> A question: this script can be considered as a webservice right ? why not
> putting it into a specific directory where we could put this kind of script ? I
> don't request it, just suggesting.

I wanted to do that myself, but found similar service(s) in the same place. So
I'm open to suggestions. I feel adventurous already for naming it .json

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list