Unit Test
Introduction
As one of the standard procedures, unit test on Web tool interface shall be performed in the software development phase. This test includes follows:
- Login
- Regular login: test on different users
- SA login
- LexBuild
- Add a new record: all category in all cases
- Close match: use gSpell to find close match
- LexAccess: base, inflection (case insensitive), EUI
- Restore a deleted record: restore deleted records
- New terms
- Daily review: Pass, Modify, Prev, Next, Commands
- Account
- Personal info: Edit
- User Info: Add, Edit, View, Delete
- Who: Details
- System: Edit
- Approval
- All
- Creation: Deny & approve submitted records to be added into LB
- Modification: Deny & approve submitted records to be modified
- Deletion: Deny & approve submitted records to be deleted
- Restoration: Deny & approve deleted record to be restored.
- Purge: Cancel and edit own submitted records
- Reports
- Uncompleted records: records which is uncompleted during the re-Edit
- Lexical records: interface to view lexical record with view options
- Lexicon stat.: get the total count by categories, approved, deleted.
- New Terms: automatic generated new terms by Nominalizations
=>Clean Up: delete terms from new terms list if they are in the Lexicon
- Post-Proc
- Cross-Ref: fix cross-reference problems.
- Identify: identify problems and causes (11 Min.)
=> IdentifyProblem -> GenerateLexicon + GenerateAcrAbbNomRecords
+ CheckCrossRef + AnalyzeData + GenerateCount
- Fix: fix problem then identify again (12 Min.)
=> AutoFix + IdentifyProblem
- Db Output:
- Backup DB tables: backup all DB tables (45 sec.)
=> backupTables
- Generate Lexicon: LEXICON, inflVars, inflVarsTba (2 Min.)
=> GenerateLexiconInflVars -> GenerateLexicon + GenerateInflVars
- GSpell:
- Re-Index: reindex gSpell dictionaries: LexiconLb & LexiconLbTemp (12 Min.)
- Reload: reload dictionaries
- Save: save dictionaries from memory to files
- Db Sql: SQl interface to LB database
- Others
- LB Home: go to LB home
- Unicode Map: open a new window for Unicode map tables
- Problems: open a Email to lu@nlm.nih.gov
- Help: open a new window for LB tutorial
- Logout: exit from LB