@@ -11,6 +11,36 @@ Zenity](#install) yourself.
1111
1212![ https://help.gnome.org/users/zenity/stable/question.html ] ( https://help.gnome.org/users/zenity/stable/figures/zenity-question-screenshot.png )
1313
14+ ** Table of contents**
15+
16+ * [ Quickstart example] ( #quickstart-example )
17+ * [ Usage] ( #usage )
18+ * [ Launcher] ( #launcher )
19+ * [ setBin()] ( #setbin )
20+ * [ waitFor()] ( #waitfor )
21+ * [ launch()] ( #launch )
22+ * [ launchZen()] ( #launchzen )
23+ * [ Mixing synchronous and asynchronous PHP] ( #mixing-synchronous-and-asynchronous-php )
24+ * [ Builder] ( #builder )
25+ * [ Dialog] ( #dialog )
26+ * [ AbstractDialog] ( #abstractdialog )
27+ * [ CalendarDialog] ( #calendardialog )
28+ * [ ColorSelectionDialog] ( #colorselectiondialog )
29+ * [ EntryDialog] ( #entrydialog )
30+ * [ ErrorDialog] ( #errordialog )
31+ * [ FileSelectionDialog] ( #fileselectiondialog )
32+ * [ FormsDialog] ( #formsdialog )
33+ * [ InfoDialog] ( #infodialog )
34+ * [ ListDialog] ( #listdialog )
35+ * [ NotificationDialog] ( #notificationdialog )
36+ * [ PasswordDialog] ( #passworddialog )
37+ * [ QuestionDialog] ( #questiondialog )
38+ * [ ScaleDialog] ( #scaledialog )
39+ * [ TextInfoDialog] ( #textinfodialog )
40+ * [ WarningDialog] ( #warningdialog )
41+ * [ Install] ( #install )
42+ * [ License] ( #license )
43+
1444## Quickstart example
1545
1646Once [ installed] ( #install ) , you can use the following code to open a prompt
@@ -297,6 +327,21 @@ $launcher = new Launcher($loop);
297327$launcher->setBin('/path/to/zenity');
298328```
299329
330+ ## Tests
331+
332+ To run the test suite, you first need to clone this repo and then install all
333+ dependencies [ through Composer] ( https://getcomposer.org ) :
334+
335+ ``` bash
336+ $ composer install
337+ ```
338+
339+ To run the test suite, go to the project root and run:
340+
341+ ``` bash
342+ $ php vendor/bin/phpunit
343+ ```
344+
300345## License
301346
302347MIT
0 commit comments