Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5342 Lượt xem

Hi all - When the unit tests are run, it'll be great to see a summarized report of all the tests that were executed and it's pass/fail status along with the time it took to run the tests. The testing framework used within Odoo does provide that option, but I can't find a way to get the report to be printed to the console or generated as an external file. Here's a sample console output (grabbed from the net)




Upon googling, I did come across someone mentioning a flag called --test-report-directory. But in Odoo v13, that doesn't seem to be a valid arg that can be passed in. Is there a way to generate the unit test reports? That would be an extremely effective data point to have for a developer as well as for presenting to management... 

Thank you. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Is there any solution for version 14

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
4164
2
thg 6 24
6330
2
thg 3 24
1298
1
thg 12 22
8959
1
thg 12 22
4222