Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Lexical Tools

Integration Test - Lite Test

Conduct smoke tests and unit tests on Lexical Tools Lite package (lvg${YEAR}lite.tgz). This test is conducted on different builds on Ant, Mvn, and Prod (Ci_Cd from Nexus).

  • Setup
    • shell>cd ${TEST_LVG}/LiteTest/${YEAR}
    • shell> mkdir ${YEAR}
    • shell> cp ./${PREV_YEAR}/ReadMe.txt ./${YEAR}
    • Download lvgLite${YEAR}.jar
      • Ant: ${LVG_DIR}/lib/lvg${YEAR}lite.tgz
      • Mvn: ${LVG_DIR}/lvg${YEAR}lite.tgz (run ./packLvgLite first)
      • Prod: same as Mvn (except use the final production version)
    • shell> tar -xzvf lvgLite${YEAR}.jar
  • Smoke Test on lvgLite: running scripts
    • make sure variable LVG_DIR=AUTO_MODE in the config file (./lvg${YEAR}lite/data/config/lvg.properties).
    • chmod +x ./bin/*
    • test all 7 scripts: fields, lgt, luiNorm, lvg, norm, toAScii, wordInd
      • ./bin/lvg -ci
      • ./bin/lvg -f:y -p
        => disease
      • ./bin/norm -p
        => diseases
      • ./bin/lgt (check if document works)
      • ./bin/luiNorm -p
        => diseases
      • ./bin/fields -F:3:1 -p
        => Field 1|Field 2|Field 3|Field4
      • ./bin/toAscii -p
        => Xigris®|spælsau|Evolène ©2002
      • ./bin/wordInd -p
        => This is a test
      • ...
  • Run unit test by integrating lvgLite
    • Add config file to: ${PROJECT}/LVG/lvg${YEAR}/data/config/lvg.properties.lite
    • Update the value of ${LVG_DIR} in the above file
    • Use option for test lite (3)
      => ci.out is different on the lvg root directory.