Ejemplo 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
Ejemplo 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
Ejemplo 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']))
Ejemplo 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']))
Ejemplo 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.'
Ejemplo n.º 6
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'single'
     self.description = 'Run single func test'
Ejemplo n.º 7
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'jobs'
     self.description = 'Run specific job'
Ejemplo n.º 8
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'func'
     self.description = 'Run Func tests'
Ejemplo 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.'
Ejemplo n.º 10
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'single'
     self.description = 'Run single func test'
Ejemplo 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.'
Ejemplo n.º 12
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'jobs'
     self.description = 'Run specific job'
Ejemplo n.º 13
0
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'func'
     self.description = 'Run Func tests'
Ejemplo 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.'