[
https://issues.apache.org/jira/browse/MESOS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266783#comment-13266783
]
[email protected] commented on MESOS-93:
----------------------------------------------------
bq. On 2012-04-30 23:06:54, Charles Reiss wrote:
bq. > src/Makefile.am, line 718
bq. > <https://reviews.apache.org/r/4823/diff/2/?file=105472#file105472line718>
bq. >
bq. > I assume you meant run_testcases.sh?
I actually meant run_testcases.py, as i added the #!usr/bin/env python in the
beginning of the .py file. Will that also need to use the TESTS_ENVIRONMENT
passing $(PYTHON) from src/Makefile.am?
- terencekwt
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4823/#review7397
-----------------------------------------------------------
On 2012-04-30 00:52:34, terencekwt wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4823/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-04-30 00:52:34)
bq.
bq.
bq. Review request for mesos and Charles Reiss.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Python Testcases for webui
bq.
bq. *added unit testcases for checking if the webui could break by inputing
artificial test jsons
bq. *should catch bugs if there syntax issues, or general cases where
resources doesn't add up correctly
bq. *moved most of the logic out of the bottle .tpl template file and into the
common webui_lib.py
bq.
bq.
bq. This addresses bug MESOS-93.
bq. https://issues.apache.org/jira/browse/MESOS-93
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/webui/tests/testcases.pyc PRE-CREATION
bq. src/webui/tests/run_testcases.sh PRE-CREATION
bq. src/webui/tests/testcases.py PRE-CREATION
bq. src/webui/slave/index.tpl b2e2097
bq. src/webui/tests/run_testcases.py PRE-CREATION
bq. src/webui/slave/executor.tpl dd53464
bq. src/webui/slave/framework.tpl 9488da5
bq. src/webui/master/framework.tpl b29d2da
bq. src/webui/master/index.tpl 68ae313
bq. src/Makefile.am cd503a8
bq. src/webui/common/webui_lib.py 0c56fde
bq.
bq. Diff: https://reviews.apache.org/r/4823/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. terencekwt
bq.
bq.
> Add unit tests for webui
> ------------------------
>
> Key: MESOS-93
> URL: https://issues.apache.org/jira/browse/MESOS-93
> Project: Mesos
> Issue Type: Improvement
> Components: test, webui
> Reporter: Charles Reiss
> Assignee: Terence Tam
> Labels: test, webui
>
> The WebUI should have unit tests. Ideally, these tests should mock out the
> Master and Slave entirely and thus be pure python tests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira