mirror of
https://github.com/bendtherules/pytest_gui_status.git
synced 2026-08-18 13:42:26 +00:00
Docs- Add CI badges + update todo completed[ci skip]
This commit is contained in:
@@ -31,8 +31,9 @@ Done
|
|||||||
12. (---) Show gui only with option --status_gui
|
12. (---) Show gui only with option --status_gui
|
||||||
13. (---) env config for redis + test for that
|
13. (---) env config for redis + test for that
|
||||||
14. (---) Use redis_db fixture for travis debuggings
|
14. (---) Use redis_db fixture for travis debuggings
|
||||||
15. (---) Add redis sudden fail tests - shutdown or crash after startup\
|
15. (---) Add redis sudden fail tests - shutdown or crash after startup
|
||||||
16. (---) Test gui_backend state loading from redis code
|
16. (---) Test gui_backend state loading from redis code
|
||||||
|
17. (---) Test on Appveyor + Circle CI
|
||||||
|
|
||||||
Think
|
Think
|
||||||
-------
|
-------
|
||||||
|
|||||||
@@ -3,7 +3,11 @@ Pytest Status GUI
|
|||||||
|
|
||||||
### => Always on GUI for showing test status (with pytest)
|
### => Always on GUI for showing test status (with pytest)
|
||||||
|
|
||||||
`pip install pytest_gui_status`
|
| 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] |
|
||||||
|
|
||||||
|
`pip install pytest_gui_status`
|
||||||
|
|
||||||
### How to use?
|
### How to use?
|
||||||
`py.test --show_status_gui`
|
`py.test --show_status_gui`
|
||||||
@@ -16,7 +20,15 @@ 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.
|
- 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.
|
- 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 pytest for every change to your code. Run like `ptw -- --show_status_gui`
|
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`
|
||||||
|
|
||||||
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)**.
|
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)**.
|
||||||
|
|
||||||
|
|
||||||
|
[Travis_SVG_Link]: https://travis-ci.org/bendtherules/pytest_gui_status.svg?branch=master
|
||||||
|
[Appveyor_SVG_Link]:https://ci.appveyor.com/api/projects/status/8u7nu85k3dkhydk4?svg=true
|
||||||
|
[CircleCI_SVG_Link]:https://circleci.com/gh/bendtherules/pytest_gui_status.svg?style=svg
|
||||||
|
|
||||||
|
[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
|
||||||
|
|||||||
Reference in New Issue
Block a user