I started  working on a ruby tester for the rest api  using rspec
this is in conjunction with a generator for test data 
see https://github.com/akinom/do-dspace-rest 
<https://github.com/akinom/do-dspace-rest>
I hava a couple test cases in place for listers 
and currently switched over to getting the test data generator into shape 

feedback, review, tips all are welcome 

Monika

________________ 
Monika Mevenkamp
[email protected]

http://mo-meven.tumblr.com/ <http://mo-meven.tumblr.com/>
http://mcmprogramming.com/mo.meven/ <http://mcmprogramming.com/mo.meven/>



> On Sep 14, 2015, at 12:45 PM, Alan Orth <[email protected]> wrote:
> 
> Ouch, it seems like there should be some sort of unit test for this!
> 
> Alan
> 
> On Mon, Sep 14, 2015 at 11:12 AM, helix84 <[email protected] 
> <mailto:[email protected]>> wrote:
> Yes, that's a bug. Please, test this fix:
> 
> https://github.com/DSpace/DSpace/pull/1056 
> <https://github.com/DSpace/DSpace/pull/1056>
> 
> Also beware of using two question marks in URL, which demonstrates as the 
> same problem for a completely different, but legitimate reason.
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 
> <https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette>
> 
> 
> 
> 
> 
> On Mon, Sep 14, 2015 at 1:13 AM, Monika Mevenkamp <[email protected] 
> <mailto:[email protected]>> wrote:
> again dspace 5 
> 
> http://localhost:8080/rest/communities/115??expand=all 
> <http://localhost:8080/rest/communities/115??expand=all>
> 
> shouldn’t  that come back with  a few more details than the following 
> 
> <?xml version="1.0"?>
> <community>
>   <expand>parentCommunity</expand>
>   <expand>collections</expand>
>   <expand>subCommunities</expand>
>   <expand>logo</expand>
>   <expand>all</expand>
>   <handle>123456789/2150</handle>
>   <id>115</id>
>   <name>Faculty Publications</name>
>   <type>community</type>
>   <copyrightText/>
>   <countItems>1654</countItems>
>   <introductoryText/>
>   <shortDescription/>
>   <sidebarText/>
> </community>
> 
> Monika
> 
> ________________ 
> Monika Mevenkamp
> [email protected] <mailto:[email protected]>
> 
> http://mo-meven.tumblr.com/ <http://mo-meven.tumblr.com/>
> http://mcmprogramming.com/mo.meven/ <http://mcmprogramming.com/mo.meven/>
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/dspace-tech 
> <http://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/dspace-tech 
> <http://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> Alan Orth
> [email protected] <mailto:[email protected]>
> https://alaninkenya.org <https://alaninkenya.org/>
> https://mjanja.ch <https://mjanja.ch/>
> "In heaven all the interesting people are missing." -Friedrich Nietzsche
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to