Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
t2. test_inquire_zengx -- should be success
t3. test_delete_testcase
t4. test_inquire_zengx -- should fail

---
20210818/lingu: define test programs
20210818/zhihao: add D info
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
test_indel_zeng - lingu - 05-22-2021 11:31 AM
RE: test_indel_zeng - lingu - 08-18-2021, 07:53 PM
RE: test_indel_zeng - zhihao - 08-18-2021, 08:44 PM
RE: test_indel_zeng - lingu - 08-18-2021, 08:58 PM
RE: test_indel_zeng - lingu - 08-18-2021, 09:11 PM
RE: test_indel_zeng - lingu - 08-19-2021, 02:46 AM
RE: test_indel_zeng - lingu - 08-19-2021, 04:25 AM

Forum Jump: