From 8abcf4ad3965ccbff7e75c30d6813a6e718a0380 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Wed, 20 Jan 2016 23:48:05 +0530 Subject: [PATCH 1/4] Docs- move badges table up[ci skip] --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 17333a5..2a1df1e 100644 --- a/readme.md +++ b/readme.md @@ -1,12 +1,13 @@ Pytest Status GUI ================== -### => Always on GUI for showing test status (with pytest) - | Travis CI | Appveyor (skipped 2.x) | Circle CI | | ------------- | ------------- | --------- | | [![Travis Build][Travis_SVG_Link]][Travis_Project_Page] | [![Appveyor Build][Appveyor_SVG_Link]][Appveyor_Project_Page] | [![CircleCI Build][CircleCI_SVG_Link]][CircleCI_Project_Page] | +### => Always on GUI for showing test status (with pytest) + + `pip install pytest_gui_status` ### How to use? From 4a29b88833e3972a48d552978f74dc3853a88274 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Wed, 20 Jan 2016 23:50:34 +0530 Subject: [PATCH 2/4] Add ptw link --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2a1df1e..e52c693 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,7 @@ pytest_status_gui is only a pytest plugin, which - updates the db with test run status (step running currently, for eg "Collecting Tests") and some details of the steps (like no. of tests passed) as it becomes available to the plugin. - The GUI on the other hand periodically polls data (using js timer with 1 sec interval) from the db and updates itself. -It is **recommended for use with pytest-watch** which re-runs py.test on any change to your code. Run using `ptw -- --show_status_gui` +It is **recommended for use with [pytest-watch][ptw_gh_link]** which re-runs py.test on any change to your code. Run using `ptw -- --show_status_gui` The result is that you get some nifty **test status windows that update as you keep editing files**. It is inspired from **[pytddmon](http://pytddmon.org/?page_id=33)**. @@ -33,3 +33,5 @@ The result is that you get some nifty **test status windows that update as you k [Appveyor_Project_Page]:https://ci.appveyor.com/project/bendtherules/pytest-gui-status [CircleCI_Project_Page]:https://circleci.com/gh/bendtherules/pytest_gui_status [Travis_Project_Page]: https://travis-ci.org/bendtherules/pytest_gui_status + +[ptw_gh_link]: https://github.com/joeyespo/pytest-watch From 75e2746d8de163246e6c470bc0a30d2cb5e9861f Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Thu, 21 Jan 2016 16:44:14 +0530 Subject: [PATCH 3/4] Update todo, with tests for proxy of no real gui --- pytest_gui_status/status_gui/todo.txt | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/pytest_gui_status/status_gui/todo.txt b/pytest_gui_status/status_gui/todo.txt index 63dbb24..d613a3c 100644 --- a/pytest_gui_status/status_gui/todo.txt +++ b/pytest_gui_status/status_gui/todo.txt @@ -1,19 +1,19 @@ Todo ------ -1. Test on Appveyor - python 2.x builds don't stop - use tox -1.1. Use tox for wrapping around py.test -2. Release on pypi -3. Add well-explained readme -3.1. Add cli doc for --show_status_gui -4. use logging.debug / log file for more prints +1. test template path available after install +2. test option --show_status_gui available +3. add details of --show_status_gui in addoption +4. Release on pypi +5. Add well-explained readme +6. Allow config for template -5. Tests with setup/teardown/class when needed -6. Faster Tests with timeout, if required by extra api to params -7. Allow config for template -8. Add gui tests -9. Use config.pluginmanager.hasplugin('plugin_name') when needed -10. Give icon to gui + preferably dynamic with status +7. use logging.debug / log file for more prints +8. Tests with setup/teardown/class when needed +9. Faster Tests with timeout, if required by extra api to params +10. Add real gui tests +11. Use config.pluginmanager.hasplugin('plugin_name') when needed +12. Give icon to gui + preferably dynamic with status Done @@ -41,8 +41,9 @@ Think 2. Think about popen stdouts -Discarded +Discarded / Later ---------- 1. Show "redis not connected" in gui itself instead of console 2. In plugin, set attributes in chunk using pipeline, using `with` +3. Test on Appveyor - python 2.x builds don't stop From 0fe0ff741b3d3ff0449067e6b1e72abfaadb46d5 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Thu, 21 Jan 2016 20:49:23 +0530 Subject: [PATCH 4/4] Add gif link --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index e52c693..3755c90 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,8 @@ Pytest Status GUI ### => Always on GUI for showing test status (with pytest) +![In action][demo_gif_link] + `pip install pytest_gui_status` @@ -35,3 +37,4 @@ The result is that you get some nifty **test status windows that update as you k [Travis_Project_Page]: https://travis-ci.org/bendtherules/pytest_gui_status [ptw_gh_link]: https://github.com/joeyespo/pytest-watch +[demo_gif_link]:http://i.imgur.com/ReGMVpu.gif