jeudi 8 novembre 2018

Running a specific test determined at run time

I have a project suite that I am using to test a x86 and x64 bit software. I need to test some parts of the software when its x86 and not test some when it is x64. I already have some scripts that determine the bitness of the software it is currently testing.

My question is mainly to see if there is a way that I can run a specific script/test only if its the correct bitness.

My current structure of my project suite:

  • Folder containing tests
    • A few child tests
    • Folder with child tests
    • Folder with child tests <--- Only want to run these tests if x86
    • Folder with child tests
    • etc.

Aucun commentaire:

Enregistrer un commentaire