Hi P.K.,
Currently, DSpace only really has Unit / Integration tests for the main
Java API layers, specifically these two modules/JARs:
https://github.com/DSpace/DSpace/tree/master/dspace-api (creates
dspace-api.jar)
https://github.com/DSpace/DSpace/tree/master/dspace-services (creates
dspace-services.jar)
Unfortunately, we do not have Unit / Integration tests for the user
interfaces (XMLUI or JSPUI). Both of these interfaces are now quite
old, and the plan is to replace them in the near future with a new User
Interface (see RoadMap [1] and UI Prototype Challenge [2]). My goal
would be that the new User Interface *will* have an automated testing
framework. Obviously, that's the recommended route these days.
As for running the tests, we do use Travis CI to run our automated
Unit/Integration tests for the API layer. Our Travis config can be
found in the codebase at:
https://github.com/DSpace/DSpace/blob/master/.travis.yml
The Travis config provides all the information you should need on how to
trigger running the tests. The documentation for the testing framework
is a bit outdated, but it is still based on the notes at
https://wiki.duraspace.org/display/DSPACE/DSpace+Testing (We still use
all the technologies mentioned there, though the versions have been
updated as has the code as well)
If you have further questions, feel free to ask them on this list, and
we'll try to get them answered!
Tim
[1] https://wiki.duraspace.org/display/DSPACE/RoadMap
[2] https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge
On 6/6/2016 10:56 AM, Pantelis Karamolegkos wrote:
Assuming someone wants to fork and proceed with heavy DSpace
customization, what is the recommended testing strategy?
i.e. which of the tests should be kept in a CI environment like
travis? (apart from our own custom tests we may set up)
(note: 99% of the customization will most likely take place on jspui)
Is there any documentation on dspace's (Unit/Integration) tests?
Thx,
P.K.
--
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 dspace-tech+unsubscr...@googlegroups.com
<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to dspace-tech@googlegroups.com
<mailto:dspace-tech@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org
--
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.