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
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']))
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']))
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.'
def __init__(self): JmakeModule.__init__(self) self.command = 'single' self.description = 'Run single func test'
def __init__(self): JmakeModule.__init__(self) self.command = 'jobs' self.description = 'Run specific job'
def __init__(self): JmakeModule.__init__(self) self.command = 'func' self.description = 'Run Func tests'
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.'