コード例 #1
0
ファイル: JmakeCIReplay.py プロジェクト: linuxscn/mysource
 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
ファイル: JmakeCIReplay.py プロジェクト: emperor1983/mysource
 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
ファイル: JmakeCIReplay.py プロジェクト: emperor1983/mysource
 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
ファイル: JmakeCIReplay.py プロジェクト: linuxscn/mysource
 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
ファイル: JmakeCI.py プロジェクト: emperor1983/mysource
 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
ファイル: JmakeCI.py プロジェクト: emperor1983/mysource
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'single'
     self.description = 'Run single func test'
コード例 #7
0
ファイル: JmakeCI.py プロジェクト: emperor1983/mysource
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'jobs'
     self.description = 'Run specific job'
コード例 #8
0
ファイル: JmakeCI.py プロジェクト: emperor1983/mysource
 def __init__(self):
     JmakeModule.__init__(self)
     self.command = 'func'
     self.description = 'Run Func tests'
コード例 #9
0
ファイル: JmakeCI.py プロジェクト: emperor1983/mysource
 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.'