]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Adding Cisco Unit Tests
authorShweta P <shweta.ap05@gmail.com>
Mon, 8 Aug 2011 07:01:03 +0000 (00:01 -0700)
committerShweta P <shweta.ap05@gmail.com>
Mon, 8 Aug 2011 07:01:03 +0000 (00:01 -0700)
quantum/plugins/cisco/README

index b77ce22ca89c410b7298dfdd6ee42e6453810806..f3152e75eb67713ca0b55141456f5e0fd60537d8 100644 (file)
@@ -106,3 +106,13 @@ mysql -uroot -p<mysql_password_here> nova -e 'create table ports (port_id VARCHA
                - mysql> create database quantum_l2network;
                - mysql> use quantum_l2network;
        + The database and login details must be specified in quantum/plugins/cisco/db/db_conn.ini.
+
+** Execute the Test cases
+* The unit tests are located at quantum/plugins/cisco/tests/unit. They are executed from quantum/plugins/cisco/ using the runtests.py script.
+
+* Execution of the runtests.py script.
+    All unit tests
+        python runtests.py unit
+    Specific Plugin unit test
+        python runtests.py unit.<name_of_the file>
+