??????????????????????????????
???????????? ???????[ 2012/9/6 14:35:22 ] ????????
????????
???????????? dev ????? tester ???????????????μ????????? tester ??????????????????????????????????????????????????????????? ?????? tester?????????????test????????????????????????á? ?е????????????磬????????????????????????????? tester ????? ???????????????????????汾?????????????????????Щ??????????и????
????“?Щ????????????????? N ???汾???????????????” “??????????????????????”?????????????п????????????????? tester ???п???????? release ??????У???????????????Щ?????????? ????????????????????????????????????.........
????“???”????????????????У??????????????????????????????????????????????У??????“???”?????μ??????“???”??????????? ???????????????????????????
????????
?????κ????鶼?????????С???????????????????£??????в????????????????
?????????????
??????в??????
??????????????
????????????????????????? ???????????檔
??????????????????????????????????????????е???????? ????????????????????????е??????????????????????У???Σ??????????????????????????????????????????????????????????????????????????????????У???????????????????????÷????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????и?????????????
??????????????У???? python ?? unittest ??????????????
??????????????? selenium ??????Ρ?
??????????????????? ?1
??????????? ?????????????xml??
?????????? ???????? ????????????????????????
???????????
?????? python ?? unittest ?????ЩС?????????????????????????????С?
def assertLogEqual(self?? arg1?? arg2):
print "[assertLogEqual('"+arg1+"'?? '"+arg2+"')]: "
if arg1 != arg2:
self.anyfailure = True
print " -> Failed: not equal"
self.result_note = " '%s' and 's%' is not equal
"%(arg1??arg2)
else:
print " ->OK"
self.result_note = "%s OK
" % self.result_note
self.assertEqual(arg1?? arg2)
def assertLogTrue(self?? arg1?? note=""):
print "[assertLogTrue("+str(arg1)+")]: "+note
if arg1 is False:
self.anyfailure = True
print " -> Failed: Excepting True"
self.result_note = " %sError: %s
" % (self.result_note?? note)
else:
print " ->OK"
self.resulte_note = "%s OK
" % self.result_note
self.assertTrue(arg1)
def assertLogFalse(self?? arg1?? note=""):
print "[assertLogFalse("+str(arg1)+")]: "+note
if arg1 is True:
print " ->FAILED: Expecting False."
self.anyfailure = True
self.result_note = "%sError: %s
" % (self.result_note?? note)
else:
self.result_note = "%sOK
" % self.result_note
print " ->OK"
self.assertFalse(arg1)
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11