test_indel_zeng
|
05-22-2021, 11:31 AM
(This post was last modified: 08-18-2021 09:02 PM by lingu.)
Post: #1
|
|||
|
|||
test_indel_zeng
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 |
|||
08-18-2021, 07:53 PM
(This post was last modified: 08-18-2021 07:57 PM by lingu.)
Post: #2
|
|||
|
|||
RE: test_indel_zeng
(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 |
|||
08-18-2021, 08:44 PM
Post: #3
|
|||
|
|||
RE: test_indel_zeng
(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 |
|||
08-18-2021, 08:58 PM
(This post was last modified: 08-18-2021 08:58 PM by lingu.)
Post: #4
|
|||
|
|||
RE: test_indel_zeng
(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. |
|||
08-18-2021, 09:11 PM
Post: #5
|
|||
|
|||
RE: test_indel_zeng
The test is half baked, still not working. But I pushed the code anyway.
Code: [sage@limbo305-1 test]$ make test cases=indel_zeng |
|||
08-19-2021, 02:46 AM
Post: #6
|
|||
|
|||
RE: test_indel_zeng
test_indel_zeng is able to give reasonable results on limbo305
Code: [sage@limbo305-1 test]$ make test cases=indel_zeng |
|||
08-19-2021, 04:25 AM
Post: #7
|
|||
|
|||
RE: test_indel_zeng
I make the output nicer
Code: [sage@limbo305-1 test]$ make test cases=indel_zeng |
|||
« Next Oldest | Next Newest »
|
- View a Printable Version
- Send this Thread to a Friend
- Subscribe to this thread
- Show the subscribers of this thread:
- Add subscribers to this thread: