test_crds.sh -- OMUD
|
09-25-2020, 12:31 AM
Post: #1
|
|||
|
|||
test_crds.sh -- OMUD
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 |
|||
09-26-2020, 12:41 PM
(This post was last modified: 09-26-2020 01:51 PM by lingu.)
Post: #2
|
|||
|
|||
RE: test_crds.sh -- OMUD
(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. |
|||
09-26-2020, 02:18 PM
(This post was last modified: 09-26-2020 03:42 PM by lingu.)
Post: #3
|
|||
|
|||
RE: test_crds.sh -- OMUD
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 |
|||
09-26-2020, 02:30 PM
Post: #4
|
|||
|
|||
RE: test_crds.sh -- OMUD
(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 |
|||
09-26-2020, 02:35 PM
Post: #5
|
|||
|
|||
RE: test_crds.sh -- OMUD
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 |
|||
09-26-2020, 04:19 PM
Post: #6
|
|||
|
|||
RE: test_crds.sh -- OMUD
(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)) --- |
|||
« 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: