![]() |
test_indel_zeng - Printable Version +- Rigorous and Reliable (RAR) (http://rar.shufangkeji.com:60380) +-- Forum: 大计算 (/forumdisplay.php?fid=257) +--- Forum: 应用 (/forumdisplay.php?fid=363) +---- Forum: BIBO (/forumdisplay.php?fid=602) +---- Thread: test_indel_zeng (/showthread.php?tid=9475) |
test_indel_zeng - lingu - 05-22-2021 11:31 AM test_indel_zeng inserts and deletes the variant case of zengxingliang Actually it inserts and deletes. It is in fact a bit tricky because we do not want a delete test to delete a good case if the caseid matches. To avoid problems, i am creating two new cases: corpus case: zengxingliang-newkey-deletetest.json caseid "ffbe261c9e6311eabceb005056c00001" inquiry case: zengxingliang-inquire-deletetest.json caseid: "ffbe261c9e6311eabceb005056c00001" Accordingly, i create two new tests: test_insert_zengx: insert case "ffbe261c9e6311eabceb005056c00001" with zengxingliang-newkey-deletetest.json test_inquire_zengx: query with new case "ffbe261c9e6311eabceb005056c00001" with zengxiangliang-inquire-deletetest.json Written by zhihao, test_delete_testcase.sh deletes case "ffbe261c9e6311eabceb005056c00001" specified in del_test_case.json The test logic flow is: D info Code: t1. test_insert_zengx --- 20210818/lingu: define test programs 20210818/zhihao: add D info RE: test_indel_zeng - lingu - 08-18-2021 07:53 PM (05-22-2021 11:31 AM)lingu Wrote: test_indel_zeng inserts and deletes the case of zengxingliang It is infact a bit tricky. test_delete may delete a good case if the caseid matches. To avoid problems, i am creating two new cases: corpus case: zengxingliang-newkey-deletetest.json caseid "ffbe261c9e6311eabceb005056c00001" inquiry case: zengxingliang-inquire-deletetest.json caseid: "ffbe261c9e6311eabceb005056c00001" Accordingly, i create two new tests: test_insert_zengx: insert case "ffbe261c9e6311eabceb005056c00001" with zengxingliang-newkey-deletetest.json test_inquire_zengx: query with new case "ffbe261c9e6311eabceb005056c00001" with zengxiangliang-inquire-deletetest.json i will also modify your test program test_delete_testcase.sh to delete case "ffbe261c9e6311eabceb005056c00001" by modifying del_test_case.json The test logic flow is: t1. test_insert_zengx t2. test_inquire_zengx -- should be success t3. test_delete_testcase t4. test_inquire_zengx -- should fail RR zhihao RE: test_indel_zeng - zhihao - 08-18-2021 08:44 PM (08-18-2021 07:53 PM)lingu Wrote:(05-22-2021 11:31 AM)lingu Wrote: test_indel_zeng inserts and deletes the case of zengxingliang good to me, and it will be better if the content is unique, then the web system will not show the test case. I don't see these new tests, are them pushed? update to headpost: --- D info Code: t1. test_insert_zengx RE: test_indel_zeng - lingu - 08-18-2021 08:58 PM (08-18-2021 08:44 PM)zhihao Wrote: good to me, and it will be better if the content is unique, then the web system will not show the test case. i have not programmed them, yet. Quote:update to headpost: I am glad you are updating the headpost, but you need define the test programs before using them. You omitted quite some lines in my test and this makes the definition unclear. I am adding the defining text to the headpost. RE: test_indel_zeng - lingu - 08-18-2021 09:11 PM The test is half baked, still not working. But I pushed the code anyway. Code: [sage@limbo305-1 test]$ make test cases=indel_zeng RE: test_indel_zeng - lingu - 08-19-2021 02:46 AM test_indel_zeng is able to give reasonable results on limbo305 Code: [sage@limbo305-1 test]$ make test cases=indel_zeng RE: test_indel_zeng - lingu - 08-19-2021 04:25 AM I make the output nicer Code: [sage@limbo305-1 test]$ make test cases=indel_zeng |