test_SampleAnnot

class test_SampleAnnot.SampleAnnot_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 Sample Annotation file has

the correct sheet name.

  • Read the file

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

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

the Raw_Data_File_Name column and highlight to use a later version of the software.

  • Read the file

  • Highlight the presence of Raw_Data_File_Name column and the need to use an updated version of the software

test_validation_MissingColumnNames()
Check if the software is able to check if the Sample 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_Missing_DataFile_Or_SampleName()
Check if the software is able to check if the Sample Annotation file has

missing entries in the Data File Name or Sample Name column

  • Read the file

  • Warn users that there are missing entries in the Data File Name or Sample Name column

test_validation_MSFilePath_with_NoSampleAnnot()
Check if the software is able to check if a given MSFilePath has Sample Annotation data

If not, it will throw an error and ask users not to input this MS raw file.

  • Read the file

  • Warn user if it finds a MSFilePath with no correspnding Sample Annotation data

test_warn_sample_in_MSFilePath_but_not_in_SampleAnnot()

Check if the software is able to list samples in a given MSFilePath that is not in the Sample Annotation data

  • Read the file

  • Warn user if it finds a sample in a given MSFilePath that is not in the Sample Annotation data

tearDown()

Hook method for deconstructing the test fixture after testing it.