Make the testing framework available to all projects, not just dspace-api -------------------------------------------------------------------------
Key: DS-966 URL: https://jira.duraspace.org/browse/DS-966 Project: DSpace Issue Type: Code Task Components: Unit Testing Framework Reporter: Mark H. Wood Unit-testing of DSpace requires a good deal of set-up. dspace-api has a nice testing framework, but it can't be used by other projects because they can't access the DSpace-specific test scaffolding that is contained in dspace-api as test-scoped classes. Also, the framework depends on copying a suitably-populated DSpace target directory tree. There is a separate test version of this tree which might not be maintained in timely fashion when the installation version is updated. We should always be testing with the latest configuration and external document files. I think this suggests two additional artifacts which can then be test-scoped dependencies of any project wishing to use the framework. We need an archive (probably Zip) of the config and etc portions of the DSpace target tree, suitably filtered for testing. These files reside in the dspace subproject and would need to be packaged there or in dspace-parent. We need a JAR of the common test scaffolding classes and their configuration data. These reside in dspace-api and would be packaged there. (I think that eventually we might want to pull the framework out into its own project, which would simplify the build process and our thinking.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.duraspace.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel