Beispiel #1
0
def projectTestMake(PARENT_CASE):
    #create new FogBugzConnect object to talk to FBAPI
    fbConnection = FogBugzConnect()
    #get estimate
    print "Please provide an estimate for the test: ",
    est = raw_input()
    fbConnection.createTestCase(PARENT_CASE,estimate=est)
Beispiel #2
0
def autoTestMake(CASE_NO,fbConnection=None):
    juche.info("autotestmake %d" % CASE_NO)
    if not fbConnection: fbConnection = FogBugzConnect()
    (implement,test)  = fbConnection.getCaseTuple(CASE_NO,oldTestCasesOK=True,exceptOnFailure=False)
    if not test:
        ixTester = fbConnection.optimalIxTester(CASE_NO)
        fbConnection.createTestCase(CASE_NO,ixTester=ixTester)
        return True
    return False