예제 #1
0
 def setUp(self):
     self._options, self._datasources, self._pabot_args, _ = pabot._parse_args(
         [
             '--pabotlib', '--verbose', '--argumentfile1',
             'tests/passingarg.txt', '--argumentfile2',
             'tests/failingarg.txt', '--resourcefile', 'tests/valueset.dat',
             'tests/fixtures'
         ])
     self._outs_dir = pabot._output_dir(self._options)
     self._all_suites = [
         'Fixtures.Suite One',
         'Fixtures.Suite Second',
         'Fixtures.Suite Special',
         'Fixtures.Suite With Valueset Tags',
     ]
     self._all_with_suites = ['--suite ' + s for s in self._all_suites]
     self._all_tests = [
         'Fixtures.Suite One.1.1 Test Case One',
         'Fixtures.Suite One.1.2 Test Case Two',
         'Fixtures.Suite One.1.3 Test Value Set',
         'Fixtures.Suite One.1.4 Testing arg file',
         u'Fixtures.Suite Second.Testing Case One of Second with Scändic Chör',
         'Fixtures.Suite Second.Testing Case One and a half Of Second',
         'Fixtures.Suite Second.Testing Case Two of Second',
         'Fixtures.Suite Second.Testing 1',
         'Fixtures.Suite Second.Testing 2',
         'Fixtures.Suite Special.Passing test Case',
         'Fixtures.Suite With Valueset Tags.Laser value set',
         'Fixtures.Suite With Valueset Tags.Tachyon value set',
         'Fixtures.Suite With Valueset Tags.Common value set',
         'Fixtures.Suite With Valueset Tags.None existing'
     ]
     self._all_with_tests = ['--test ' + _t for _t in self._all_tests]
예제 #2
0
 def setUp(self):
     self._options, self._datasources, self._pabot_args, _ = pabot._parse_args(['--pabotlib',
                                                                             '--verbose',
                                                                             '--argumentfile1',
                                                                             'tests/passingarg.txt',
                                                                             '--argumentfile2',
                                                                             'tests/failingarg.txt',
                                                                             '--resourcefile',
                                                                             'tests/valueset.dat',
                                                                             'tests/fixtures'])
     self._outs_dir = pabot._output_dir(self._options)
     self._all_suites = [
     'Fixtures.Suite One', 
     'Fixtures.Suite Second',
     'Fixtures.Suite Special',
     'Fixtures.Suite With Valueset Tags',
     ]
     self._all_with_suites = ['--suite '+s for s in self._all_suites]
     self._all_tests = [
         'Fixtures.Suite One.1.1 Test Case One',
         'Fixtures.Suite One.1.2 Test Case Two',
         'Fixtures.Suite One.1.3 Test Value Set',
         'Fixtures.Suite One.1.4 Testing arg file',
         'Fixtures.Suite Second.Testing Case One of Second',
         'Fixtures.Suite Second.Testing Case One and a half Of Second',
         'Fixtures.Suite Second.Testing Case Two of Second',
         'Fixtures.Suite Special.Passing test Case',
         'Fixtures.Suite With Valueset Tags.Laser value set',
         'Fixtures.Suite With Valueset Tags.Tachyon value set',
         'Fixtures.Suite With Valueset Tags.Common value set',
         'Fixtures.Suite With Valueset Tags.None existing'
     ]
     self._all_with_tests = ['--test '+_t for _t in self._all_tests]
예제 #3
0
 def setUp(self):
     self._options, self._datasources, self._pabot_args = pabot._parse_args(
         [
             '--pabotlib', '--argumentfile1', 'tests/passingarg.txt',
             '--argumentfile2', 'tests/failingarg.txt', '--resourcefile',
             'tests/valueset.dat', 'tests/fixtures'
         ])
     self._outs_dir = pabot._output_dir(self._options)
예제 #4
0
 def setUp(self):
     self._options, self._datasources, self._pabot_args = pabot._parse_args(['--pabotlib',
                                                                             '--argumentfile1',
                                                                             'tests/passingarg.txt',
                                                                             '--argumentfile2',
                                                                             'tests/failingarg.txt',
                                                                             '--resourcefile',
                                                                             'tests/valueset.dat',
                                                                             'tests/fixtures'])
     self._outs_dir = pabot._output_dir(self._options)
예제 #5
0
 def setUp(self):
     self._options, self._datasources, self._pabot_args, _ = arguments.parse_args(
         [
             "--pabotlib",
             "--verbose",
             "--argumentfile1",
             "tests/passingarg.txt",
             "--argumentfile2",
             "tests/failingarg.txt",
             "--resourcefile",
             "tests/valueset.dat",
             "tests/fixtures",
         ])
     self._outs_dir = pabot._output_dir(self._options)
     self._all_suites = [
         "Fixtures.Suite One",
         "Fixtures.Suite Second",
         "Fixtures.Suite Special",
         "Fixtures.Suite With Valueset Tags",
         "Fixtures.Test Copy Artifacts.Suite 1",
         "Fixtures.Test Copy Artifacts.Suite 2",
     ]
     self._all_with_suites = ["--suite " + s for s in self._all_suites]
     self._all_tests = [
         "Fixtures.Suite One.1.1 Test Case One",
         "Fixtures.Suite One.1.2 Test Case Two",
         "Fixtures.Suite One.1.3 Test Value Set",
         "Fixtures.Suite One.1.4 Testing arg file",
         u"Fixtures.Suite Second.Testing Case One of Second with Scändic Chör",
         "Fixtures.Suite Second.Testing Case One and a half Of Second",
         "Fixtures.Suite Second.Testing Case Two of Second",
         "Fixtures.Suite Second.Testing 1",
         "Fixtures.Suite Second.Testing 2",
         "Fixtures.Suite Special.Passing test Case",
         "Fixtures.Suite With Valueset Tags.Laser value set",
         "Fixtures.Suite With Valueset Tags.Tachyon value set",
         "Fixtures.Suite With Valueset Tags.Common value set",
         "Fixtures.Suite With Valueset Tags.None existing",
         "Fixtures.Test Copy Artifacts.Suite 1.Links to screenshot directly in output_dir",
         "Fixtures.Test Copy Artifacts.Suite 1.Links to screenshots in subfolder",
         "Fixtures.Test Copy Artifacts.Suite 1.Links to other file in subfolder",
         "Fixtures.Test Copy Artifacts.Suite 2.Links to screenshot directly in output_dir",
         "Fixtures.Test Copy Artifacts.Suite 2.Links to screenshots in subfolder",
         "Fixtures.Test Copy Artifacts.Suite 2.Links to other file in subfolder",
     ]
     self._all_with_tests = ["--test " + _t for _t in self._all_tests]