comparison mx/commands.py @ 11237:2e38c55153e5

unittest: also pick up @Parameters annotation
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 07 Aug 2013 16:05:49 +0200
parents bd0e589a9a65
children 485a5f029b32
comparison
equal deleted inserted replaced
11236:8e3ba1110a71 11237:2e38c55153e5
807 """ 807 """
808 808
809 def unittest(args): 809 def unittest(args):
810 """run the JUnit tests (all testcases){0}""" 810 """run the JUnit tests (all testcases){0}"""
811 811
812 _unittest(args, ['@Test', '@LongTest']) 812 _unittest(args, ['@Test', '@LongTest', '@Parameters'])
813 813
814 def shortunittest(args): 814 def shortunittest(args):
815 """run the JUnit tests (short testcases only){0}""" 815 """run the JUnit tests (short testcases only){0}"""
816 816
817 _unittest(args, ['@Test']) 817 _unittest(args, ['@Test'])
818 818
819 def longunittest(args): 819 def longunittest(args):
820 """run the JUnit tests (long testcases only){0}""" 820 """run the JUnit tests (long testcases only){0}"""
821 821
822 _unittest(args, ['@LongTest']) 822 _unittest(args, ['@LongTest', '@Parameters'])
823 823
824 def buildvms(args): 824 def buildvms(args):
825 """build one or more VMs in various configurations""" 825 """build one or more VMs in various configurations"""
826 826
827 vmsDefault = ','.join(_vmChoices) 827 vmsDefault = ','.join(_vmChoices)