@@ -73,7 +73,7 @@ If you found a problem or are trying to write a test, you can file an
7373
7474.. _test_specific_tests :
7575
76- Choose tests to run
76+ Test runner options
7777"""""""""""""""""""
7878
7979.. note ::
@@ -128,9 +128,10 @@ Multiple can be separated by spaces:
128128 .. _test_builder_visually :
129129
130130Visual testing
131- """"""""""""""
131+ ''''''''''''''
132132
133- You can watch tmux testsuite build sessions visually also.
133+ You can watch tmux testsuite build sessions visually by keeping a client
134+ open in a separate terminal.
134135
135136Create two terminals:
136137
@@ -147,7 +148,7 @@ Terminal 1 should have flickered and built the session before your eyes.
147148tmuxp hides this building from normal users. :)
148149
149150Verbosity and logging
150- """""""""""""""""""""
151+ '''''''''''''''''''''
151152
152153``./run_tests.py `` supports two options, these are *optional * flags that
153154may be added to for :ref: `test_specific_tests ` and
@@ -174,8 +175,8 @@ may be added to for :ref:`test_specific_tests` and
174175
175176 $ ./run_tests.py --verbosity 0
176177
177- Watch files and test
178- --------------------
178+ Run tests on save
179+ -----------------
179180
180181You can re-run tests automatically on file edit.
181182
@@ -239,66 +240,6 @@ is tested against 1.8 and latest in addition to python 2.7. The
239240.. literalinclude :: ../.travis.yml
240241 :language: yaml
241242
242- Internals
243- ---------
244-
245- Similarities to Tmux and Pythonics
246- ----------------------------------
247-
248- tmuxp is was built in the spirit of understanding how tmux operates
249- and how python objects and tools can abstract the API's in a pleasant way.
250-
251- tmuxp uses the identify ``FORMATTERS `` used by tmux, you can see
252- them inside of http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/format.c.
253-
254- In this, I will also begin documenting the API.
255-
256- the use of:
257-
258- Session
259- :meth: `Session.new_window() ` - returns a new Window object bound to the session,
260- also uses ``tmux new-window ``.
261- :meth: `Session.new_session() ` - class method - returns a new Session object.
262-
263- Differences from tmux
264- ---------------------
265-
266- Because this is a python abstraction and flags like ``start-directory ``
267- have dashes (-) replaced with underscores (_).
268-
269- interesting observations
270- ------------------------
271-
272- How is tmuxp able to keep references to panes, windows and sessions?
273-
274- Tmux has unique ID's for sessions, windows and panes.
275-
276- panes use ``% ``, such as ``%1234 ``
277-
278- windows use ``@ ``, such as ``@2345 ``
279-
280- sessions use ``$ ``, for money, such as ``$ ``
281-
282- How is tmuxp able to handle windows with no names?
283-
284- Tmux provides ``window_id `` as a unique identifier.
285-
286- What is a {pane,window}_index vs a {pane,window,session}_id?
287-
288- Pane index refers to the order of a pane on the screen.
289-
290- Window index refers to the # of the pane in the session.
291-
292- To assert pane, window and session data, tmuxp will use
293- :meth: `tmuxp.Server.list_sessions `, :meth: `tmuxp.Session.list_windows `,
294- :meth: `tmuxp.Window.list_panes ` to update objects.
295-
296- Reference
297- ---------
298-
299- - tmux docs http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1
300- - tmux source code http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/
301-
302243.. _travis-ci : http://www.travis-ci.org
303244.. _travis build site : http://www.travis-ci.org/tony/tmuxp
304245.. _.travis.yml : https://github.com/tony/tmuxp/blob/master/.travis.yml
0 commit comments