From 79cadfa57ba4572b12fd99d8554ee3ae7727797b Mon Sep 17 00:00:00 2001 From: Benedek Racz Date: Thu, 5 Sep 2019 16:20:37 +0200 Subject: [PATCH] [ADD] codecov; update readme --- README.md | 40 ++++++++++++++-------------------------- appveyor.yml | 3 +++ 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 312cc0f..877a2e3 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,29 @@ # **wexpect** +[![Build status](https://ci.appveyor.com/api/projects/status/tbji72d5s0tagrt9?svg=true)](https://ci.appveyor.com/project/raczben/wexpect) + *Wexpect* is a Windows variant of [pexpect](https://pexpect.readthedocs.io/en/stable/). *Pexpect* is a Python module for spawning child applications and controlling them automatically. -**!! UPDATE !!** +## You need wexpect if... -I'm glad to announce that python-3 is supported form version 2.3.3 + - you want to control any windows application from python script. + - you want to write test-automation script for a windows application. + - you want to post-process some application's standard output. ## **Install** pip install wexpect - + +OR + +Because wexpect a tiny project dropping the wexpect.py file into your working directory is usually +good enough instead of installing. However in this case you need to install manually the pypiwin32 +dependence. + + ## **Usage** To interract with a child process use `spawn` method: @@ -55,25 +66,6 @@ to this code with very few (almost none) documentation nor integration. This repo tries to fix these limitations, with a few example code and pypi integration. ---- -## Installation of wexpect - -### Standard installation - -This version is uploaded to pypi server so you can easily install with pip: - - pip install wexpect - -### Manual installation - -Because this is a tiny project dropping the wexpect.py file into your working directory is usually -good enough instead of installing. However in this case you need to install manually the one dependence. - -One (non stanbdard) package, **pypiwin32** is needed by wexpect. - - pip install pypiwin32 - - --- ## Dev @@ -112,10 +104,6 @@ The wexpect uses [pbr](https://docs.openstack.org/pbr/latest/) for managing rele - Install the test build `python -m pip install wexpect` - run `python -c "import wexpect;print(wexpect.__version__)"` -Test - This means that you should r - - diff --git a/appveyor.yml b/appveyor.yml index 5db1a9f..42d67d2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,3 +7,6 @@ install: test_script: - tox + +after_test: +- codecov \ No newline at end of file