Update doc and remove xtc instructions
This commit is contained in:
Родитель
3bf474182b
Коммит
9098d85725
23
README.md
23
README.md
|
@ -4,29 +4,6 @@ This project provides extensions for producing test reports for Espresso tests i
|
|||
|
||||
Visit our [docs](https://docs.microsoft.com/appcenter/test-cloud/preparing-for-upload/espresso) for instructions on how to convert and run your existing Espresso test suite in Visual Studio App Center.
|
||||
|
||||
## Upload to Xamarin Test Cloud
|
||||
|
||||
The extension also works with Xamarin Test Cloud. Below are the upload instructions for Xamarin Test Cloud. Upload instructions for Visual Studio App Center can be found using the link above.
|
||||
|
||||
If you have not done so already, install our command line interface by following [the installation instructions](XamarinTestCloudUploaderInstall.md/#installation).
|
||||
|
||||
*Note: If you are an existing Test Cloud user currently using the command line tools for Calabash, UITest or Appium, you will need to install this new tool.*
|
||||
|
||||
If you do not have an existing device key ready, you can generate one by following the *new test run* dialog in [Test Cloud](https://testcloud.xamarin.com). On the final screen, extract only the device key from the generated command.
|
||||
|
||||
### Compile application and test apk
|
||||
|
||||
Compile your application and tests. E.g. by running `gradle` with the tasks `assembleDebug` and `assembleDebugAndroidTest`
|
||||
|
||||
Perform upload by running:
|
||||
|
||||
```
|
||||
xtc test <project>/build/outputs/apk/<apk> <api-key> --devices <selection> --user <email> --workspace <project>/build/outputs/apk/<test-apk>
|
||||
```
|
||||
|
||||
*Note: If you are having trouble targeting the `xtc` command, try executing with the fully qualified path to the package.*
|
||||
|
||||
|
||||
# Contributing
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
# XTC Command Line Interface (CLI)
|
||||
|
||||
Command line interface for XTC.
|
||||
|
||||
## Installation
|
||||
|
||||
### Windows
|
||||
|
||||
1. Download ```xtc.win7-x64.zip``` from the [last stable build](http://calabash-ci.xyz/jenkins/view/Uploader/job/Uploader%20master/lastSuccessfulBuild/artifact/publish/Release/xtc.win7-x64.zip).
|
||||
|
||||
After downloading, right-click on the Zip file, select "Unblock", and click the "OK" button.
|
||||
2. Unzip the file.
|
||||
|
||||
### OS X
|
||||
1. Download ```xtc.osx.10.10-x64.tar.gz``` from the [last stable build](http://calabash-ci.xyz/jenkins/view/Uploader/job/Uploader%20master/lastSuccessfulBuild/artifact/publish/Release/xtc.osx.10.10-x64.tar.gz).
|
||||
|
||||
2. Unpack the archive file to any directory:
|
||||
|
||||
```tar -xvzf xtc.osx.10.10-x64.tar.gz```
|
||||
|
||||
This will create a `xtc` directory.
|
||||
|
||||
3. Add the `xtc` directory created above to the PATH environment variable.
|
||||
|
||||
## Usage
|
||||
```
|
||||
xtc help
|
||||
Usage: xtc <command> [options]
|
||||
Available commands:
|
||||
help Print help for a command
|
||||
run Run external command extension
|
||||
test Upload tests to the Test Cloud
|
||||
```
|
Загрузка…
Ссылка в новой задаче