test_ISTDAnnot

class test_ISTDAnnot.ISTDAnnot_Test(methodName='runTest')
setUp()

Hook method for setting up the test fixture before exercising it.

test_validation_InvalidSheetName()
Check if the software is able to check if the Annotation file has

the correct ISTD_Annot sheet name.

  • Read the file

  • Highlight the sheet name should be “ISTD_Annot”, not something else.

test_validation_MissingColumnNames()
Check if the software is able to check if the ISTD Annotation file has

missing column which are actually required.

  • Read the file

  • Highlight the presence of missing columns and the need to to have them

test_validation_CustomUnit()
Check if the software is able to check if ISTD Annotation file’s

Custom_Unit column details is correct. “[?M] or [?mol/uL]” is valid If the value is in the form “[?M]” or “[?M] or [?mol/mL]”, highlight to use a later version of the software. If the value is in other forms, highlight that it is invalid.

  • Read the file

  • If the value is in the form “[?M]” or “[?M] or [?mol/mL]”, highlight to use a later version of the software.

  • If the value is in other forms, highlight that it is invalid.

test_validation_DuplicateISTD()

Check if the software is able to check if ISTD Annotation has duplicate ISTD.

  • Read the file

  • If there are duplicate ISTD, stop the program and inform where the duplicate is.

test_warn_ISTD_in_ISTD_Annot_but_not_in_Transition_Name_Annot()
Check if the software is able to warn if the ISTD in the

ISTD_Annot sheet is absent in the Transition_Name_Annot sheet

  • Read the file

  • Warn if the ISTD in the ISTD_Annot is absent in the Transition_Name_Annot sheet

tearDown()

Hook method for deconstructing the test fixture after testing it.