![]() Select as the Connection type and click Register TeamCity to set up OAuth authentication with GitHub. The Add Connection dialog will be invoked. On the Connections page, click Add Connection. Open project settings and click Connections. Parameters used in this example specify Google Chrome as the target browser, tests as the folder that contains test fixtures and TeamCity reporter as a plugin used to output test run reports.įirst, you will need to create a connection with. ![]() Type testcafe into the Command executable box and add the following arguments in the Command parameters field: chrome tests/**/* -r teamcity. In the Run parameter, select Executable with parameters. Optionally, specify a name for this step. In the Runer type field, select Command Line. Configure this step to run TestCafe using the command line. On this page, click the Add build step button. First, select Build Steps from the left menu. In the configuration settings, add a build step that runs TestCafe. Ĭlick the Edit Configuration Settings link. Ĭreate a new build configuration or open an existing one as described in the TeamCity documentation . You can find a list of supported VCS in the TeamCity documentation . If you use a different version control system, make sure TeamCity supports it. We will fetch test code from a GitHub repository: testcafe-ci-demo . The reports will be presented in the TeamCity UI allowing you to analyze the results with its built-in features. The testcafe-reporter-teamcity plugin enables TestCafe to output test run results in the TeamCity format. npm install -g testcafe testcafe-reporter-teamcity Prerequisitesīefore starting this tutorial, install TestCafe and the TeamCity reporter plugin. This topic describes how to use TestCafe with TeamCity . TestCafe is easy to set up with most modern CI systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |