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