How to run unit test for single module?

Asked by Wu Wenxiang

In keystone, ./run-test.sh tests.test-module could run single test module.
How could we do this job in horizon?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
Lin Hua Cheng
Solved:
Last query:
Last reply:
Revision history for this message
Best Lin Hua Cheng (lin-hua-cheng) said :
#1

You can use this command: ./run_tests.sh openstack_dashboard.dashboards.admin.domains.tests

Where openstack_dashboard.dashboards.admin.domains.tests is the path to the test module.

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) said :
#2
Revision history for this message
Wu Wenxiang (wu-wenxiang) said :
#3

Thanks Lin Hua Cheng, that solved my question.