Esempio n. 1
0
 def __init__(self, fileutils=FileUtils()):
     JmakeModule.__init__(self)
     self.command = 'replay'
     self.description = 'Replay JBAC failure locally. The most common use case is to replay a file prepared by ' \
                        '"ci investigate". The autocomplete should provide these filenames for your convenience. ' \
                        'You can use this to create a "local hallelujah client" to which you can supply a file ' \
                        'containing tests to run and it will run them as if they were read from the JMS queue.'
     self.fileutils = fileutils
Esempio n. 2
0
 def __init__(self, fileutils=FileUtils()):
     JmakeModule.__init__(self)
     self.command = 'replay'
     self.description = 'Replay JBAC failure locally. The most common use case is to replay a file prepared by ' \
                        '"ci investigate". The autocomplete should provide these filenames for your convenience. ' \
                        'You can use this to create a "local hallelujah client" to which you can supply a file ' \
                        'containing tests to run and it will run them as if they were read from the JMS queue.'
     self.fileutils = fileutils
Esempio n. 3
0
 def __init__(self, urlutils=UrlUtils(), xml=XmlUtils(), fileutils=FileUtils()):
     JmakeModule.__init__(self)
     self.command = 'investigate'
     self.description = 'Investigates JBAC failures and prepares to reproduce them locally. This command will ' \
                        'produce a file, that will contain information what tests failed and what should be done ' \
                        'to replay what happened locally. By default, the failed tests will be accompanied with ' \
                        '5 tests that preceded it on the particular run in an attempt to repliacate the way the ' \
                        'instance might have been corrupted by previous tests (which is random on regular rerun ' \
                        'due to how hallelujah works).'
     self.urlutils = urlutils
     self.xml = xml
     self.fileutils = fileutils
     self.replays_dir = self.fileutils.existing_dir(os.sep.join(['target', 'replays']))
Esempio n. 4
0
 def __init__(self,
              urlutils=UrlUtils(),
              xml=XmlUtils(),
              fileutils=FileUtils()):
     JmakeModule.__init__(self)
     self.command = 'investigate'
     self.description = 'Investigates JBAC failures and prepares to reproduce them locally. This command will ' \
                        'produce a file, that will contain information what tests failed and what should be done ' \
                        'to replay what happened locally. By default, the failed tests will be accompanied with ' \
                        '5 tests that preceded it on the particular run in an attempt to repliacate the way the ' \
                        'instance might have been corrupted by previous tests (which is random on regular rerun ' \
                        'due to how hallelujah works).'
     self.urlutils = urlutils
     self.xml = xml
     self.fileutils = fileutils
     self.replays_dir = self.fileutils.existing_dir(
         os.sep.join(['target', 'replays']))
Esempio n. 5
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'ci'
     self.description = 'Runs CI related tasks. You may run batches of funk and webdriver tests. This will evolve '\
                        'into resembling Bamboo builds as closely as possible, but not just yet.'
Esempio n. 6
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'single'
     self.description = 'Run single func test'
Esempio n. 7
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'jobs'
     self.description = 'Run specific job'
Esempio n. 8
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'func'
     self.description = 'Run Func tests'
Esempio n. 9
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'webdriver'
     self.description = 'Runs WebDriver tests on the last JIRA instance ran by ./jmake run or ./jmake debug.'
Esempio n. 10
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'single'
     self.description = 'Run single func test'
Esempio n. 11
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'ci'
     self.description = 'Runs CI related tasks. You may run batches of funk and webdriver tests. This will evolve '\
                        'into resembling Bamboo builds as closely as possible, but not just yet.'
Esempio n. 12
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'jobs'
     self.description = 'Run specific job'
Esempio n. 13
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'func'
     self.description = 'Run Func tests'
Esempio n. 14
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'webdriver'
     self.description = 'Runs WebDriver tests on the last JIRA instance ran by ./jmake run or ./jmake debug.'