2
.. i18n: Running Automated Test Cases
3
.. i18n: ----------------------------
6
Running Automated Test Cases
7
----------------------------
9
.. i18n: We can check all the queries on :ref:`CLI <CLI-link>` by making a file with queries to be tested with the syntax given in :ref:`CLI <CLI-link>`
12
We can check all the queries on :ref:`CLI <CLI-link>` by making a file with queries to be tested with the syntax given in :ref:`CLI <CLI-link>`
14
.. i18n: For example we can create *test_query* file with the content like
17
For example we can create *test_query* file with the content like
19
.. i18n: .. :ref:`test_query <test_query-link>`
22
.. :ref:`test_query <test_query-link>`
31
.. i18n: DATABASE='terp'
40
.. i18n: ./tinybi.py -d ${DATABASE} -H localhost -U admin -W admin -p 8069 -s "tinyerp" -c "select <br />{[user].[all]} on rows, {[measures].[credit_limit],[measures].[count]} <br />on columns from res_partner"
45
./tinybi.py -d ${DATABASE} -H localhost -U admin -W admin -p 8069 -s "tinyerp" -c "select <br />{[user].[all]} on rows, {[measures].[credit_limit],[measures].[count]} <br />on columns from res_partner"
49
.. i18n: ./tinybi.py -d ${DATABASE} -H localhost -U admin -W admin -p 8069 -s "tinyerp" -c "select <br /> {[measures].[credit_limit],[measures].[count]} on rows, {[user].[all],[user].children} <br /> on columns from res_partner"
54
./tinybi.py -d ${DATABASE} -H localhost -U admin -W admin -p 8069 -s "tinyerp" -c "select <br /> {[measures].[credit_limit],[measures].[count]} on rows, {[user].[all],[user].children} <br /> on columns from res_partner"
61
.. i18n: The file can be run on command prompt and it will give output for queries and error if its not able to run it on
64
The file can be run on command prompt and it will give output for queries and error if its not able to run it on
66
.. i18n: The output of this file can be viewed CubeCliExample test_query
69
The output of this file can be viewed CubeCliExample test_query