Difference between revisions of "API:bin/unit tests"

From EPrints Documentation
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<!-- Pod2Wiki=_preamble_  
 
<!-- Pod2Wiki=_preamble_  
 
This page has been automatically generated from the EPrints 3.4 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' comments will be lost.
 
This page has been automatically generated from the EPrints 3.4 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' comments will be lost.
  -->{{API}}{{Pod2Wiki}}{{API:Source|file=bin/unit_tests.pm|package_name=bin/unit_tests}}[[Category:API|BIN/UNIT_TESTS]][[Category:API:bin/unit_tests|BIN/UNIT_TESTS]]<div><!-- Edit below this comment -->
+
  -->{{API}}{{Pod2Wiki}}{{API:Source|file=bin/unit_tests.pm|package_name=bin/unit_tests}}[[Category:API|BIN/UNIT_TESTS]]<div><!-- Edit below this comment -->
  
  
Line 28: Line 28:
 
<!-- Pod2Wiki=head_description -->
 
<!-- Pod2Wiki=head_description -->
 
==DESCRIPTION==
 
==DESCRIPTION==
<em>To be written</em>.
+
Runs unit tests under ''tests/'' against a chosen EPrints repository.
  
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
Line 49: Line 49:
 
==='''repository_id''' ===
 
==='''repository_id''' ===
  
The ID of the eprint repository to use.
+
The ID of the EPrints repository to run unit tests against.
  
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>
 
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce;  padding: 0em 1em 0em 1em; font-size: 80%; '>

Latest revision as of 19:12, 15 March 2023

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki


NAME

unit_tests - Unit testing for EPrints

User Comments


SYNOPSIS

check_xapian repository_id [options]

User Comments


DESCRIPTION

Runs unit tests under tests/ against a chosen EPrints repository.

User Comments


ARGUMENTS

User Comments


repository_id

The ID of the EPrints repository to run unit tests against.

User Comments


OPTIONS

User Comments


--help

Print a brief help message and exit.

User Comments


--force

Ignore warnings and run anyway.

User Comments


--man

Print the full manual page and then exit.

User Comments


--quiet

This option will suppress all output unless an error occurs.

User Comments


--verbose

Explain in detail what is going on.

User Comments


--version

Output version information and exit.

User Comments


COPYRIGHT

© Copyright 2023 University of Southampton.

EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

LICENSE

This file is part of EPrints 3.4 http://www.eprints.org/.

EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.

EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.

User Comments