![]() |
test_crds.sh -- OMUD - 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_crds.sh -- OMUD (/showthread.php?tid=9165) |
test_crds.sh -- OMUD - zhihao - 09-25-2020 12:31 AM This shell script is used for testing create, read, delete, query cases functions in BIBO system. Designers' info Code: $caseid: each case has a unique case id RE: test_crds.sh -- OMUD - lingu - 09-26-2020 12:41 PM (09-25-2020 12:31 AM)zhihao Wrote: This shell script is used for testing create, read, delete, search cases functions in BIBO system. by 'search', you mean 'select'? Quote:Designers' info The tests should be run on a 'client' environment. It may not be able to access $bibo_base Quote:send insert request to trajan.d-thinker.org 20050 insert what file? Should specify key details. Quote:output inserted case file What does this give us? Quote:show case count after insert Delete which doc? There should be also a query test -- crd means create, read, delete. RE: test_crds.sh -- OMUD - lingu - 09-26-2020 02:18 PM delete returns 404, but the test still reports success. That's not good. Code: 13:16:30 lingu@g1b-2:/home/lingu/forest/prada/prada> make -C procuratorate test make: Entering directory '/home/lingu/forest/prada/prada/procuratorate' zhihao - pls fix this. On 404, the test should be a failure and the program should scream to die. It also has a children field. We agreed to remove the children field. -- i removed the children field for delete in cod://prada commit 56d38f9 RE: test_crds.sh -- OMUD - lingu - 09-26-2020 02:30 PM (09-26-2020 02:18 PM)lingu Wrote: It also has a children field. We agreed to remove the children field. Delete result 200 also has children. That's bad. Code: 13:22:49 lingu@g1b-2:/home/lingu/forest/prada/prada> make -C procuratorate test zhihao -3s lingu -1s RE: test_crds.sh -- OMUD - lingu - 09-26-2020 02:35 PM This one receives no response, and it should also be a failure. Code: 13:34:11 lingu@g1b-2:/home/lingu/forest/prada/prada> make -C procuratorate test RE: test_crds.sh -- OMUD - zhihao - 09-26-2020 04:19 PM (09-26-2020 12:41 PM)lingu Wrote:是的,但是我觉得'select'对应的应该是read。(09-25-2020 12:31 AM)zhihao Wrote: This shell script is used for testing create, read, delete, search cases functions in BIBO system. 我认为可以把'search'修改为'query',把test_crds.sh 修改为test_crdq.sh --- This shell script is used for testing create, read, delete, ((search -> query ))cases functions in BIBO system. --- RR lingu (09-26-2020 12:41 PM)lingu Wrote:已将其删除并更新首文。Quote:Designers' info (09-26-2020 12:41 PM)lingu Wrote:updated as follows:Quote:send insert request to trajan.d-thinker.org 20050 send insert request (( -> zengxingliang.json ))to trajan.d-thinker.org 20050 (09-26-2020 12:41 PM)lingu Wrote:It will output the inserted case content to the screen,updated headpost as follows:Quote:output inserted case file ((output inserted case file -> output the inserted case content to the screen)) (09-26-2020 12:41 PM)lingu Wrote:Quote:show case count after insert It will delete the zengxingliang case. updated headpost as follows: --- $caseid: each case has a unique case id send delete request (( -> del_zengxingliang.json)) to trajan.d-thinker.org 20050(( -> to delete cases matches $caseid)) --- |