Taxonomic Editor - Testing
"Must be tested" List
Following is a quick and dirty list of functionality that needs to be tested before every release. It will be cleaned up and sent to the testing team in Edinburgh when deemed complete.
The following tests are differentiated as follows:
A positive test represents the regular behaviour.
A negative test represents a misbehaviour that has to be handled in some kind by the editor or the cdmlib.
Initial startup
- positive - Start application for first time with no DB (.cdmLibrary) or config info (./workspace). Create a taxonomic tree.
- negative - Start application for first time with an existing DB (.cdmLibrary) or a config info (./workspace) of an older cdmlib version. This case should be handled gracefully.
Names
- positive - Create new taxon
- Enter taxon name without reference. Save
- Enter name with reference. Save
Taxon
- positive - Create new taxon
- Create multiple:
- heterotypic synonyms
- homotypic synonyms
- misapplications
- concept relations
- Create multiple:
- positive - Drag and drop a synonym into
- an existing homotypic group
- a new homotypic group
- positive - Delete a heterotypic synonym to make sure redraw works
ICBN vs. ICZN
- positive - Basionym (ICBN) vs. Original Combination (ICZN)
- Set nomenclatural code in preferences to ICBN
- Create a taxon
- Create a homotypic synonym
- Check whether:
- "Set as Basionym for Group" is mentioned in the context menu
- execution of "Set as Basionym for Group" creates the label "Basionym" for every occurence of the new name relation
- Check whether:
- Create a homotypic synonym
- positive - Set nomenclatural code in preferences to ICZN
- Create a taxon
- Create a homotypic synonym
- Check whether:
- "Set as Original Combination for Group" is mentioned in the context menu
- execution of "Set as Original Combination for Group" creates the label "Original Combination" for every occurence of the new name relation
- Check whether:
- Create a homotypic synonym
- Parser / name formatting: Check whether text written into the freetext area is parsed correctly. Use the following examples.
- ICZN:positive example: Paramyia longilingua Papp, 2001 in Acta zool. hung. 47: 333. 2001
- ICBN:positive example: Abies alba L., Sp. Pl.: 328. 1794
Bulk Editor
- Property sheet changes reflected in Editor
- Make sure right-click context menu commands work, e.g. select 1+ candidates for merging
State
- positive
- Open a taxon
- Delete it in the tree
- The taxon's editor should close.
Search
- positive
- Perform search for
- name with synonyms
- name without synonyms
