Difference between revisions of "Vertx-eventbus-python"

From BITPlan Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
== Python ==
 
== Python ==
 
For the python tests to be successful you might want to start the echoVerticle manually first with
 
For the python tests to be successful you might want to start the echoVerticle manually first with
<source lang='bash' hightlight='1'>
+
<source lang='bash' highlight='1'>
 
java/run
 
java/run
 
... Initializing cluster partition table arrangement...
 
... Initializing cluster partition table arrangement...
Line 35: Line 35:
 
OK
 
OK
 
python unit tests successful!
 
python unit tests successful!
 +
</source>
 +
== Integration ==
 +
The integration test
 +
<source lang='bash' highlight='1'>
 +
./test --all
 +
</source>
 +
== Help / Usage ==
 +
<source lang='bash' highlight='1'>
 +
./test -h
 +
usage:
 +
  ./test [a|--all|-h|--help|-j|--java|-p|--python]
 +
-h|--help: show this help
 +
-a|--all: run all tests
 +
-j|--java: run java tests
 +
-p|--python: run python tests
 +
-pa: run python tests with automatic start of echoServer
 
</source>
 
</source>
  

Revision as of 08:56, 31 January 2020

OsProject

OsProject
edit
id  vertx-eventbus-python
state  
owner  rc-dukes
title  Python vertx eventbus bridge
url  https://github.com/rc-dukes/vertx-eventbus-python
version  3.8.5
description  
date  2020/01/30
since  
until  

Click here to comment see Vertx-eventbus-python

Test

Java

./test --java

...
Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

Python

For the python tests to be successful you might want to start the echoVerticle manually first with

java/run
... Initializing cluster partition table arrangement...

and then start the python unit tests in a separate terminal window with

./test --python
...
Ran 3 tests in 5.595s

OK
python unit tests successful!

Integration

The integration test

./test --all

Help / Usage

./test -h
usage:
  ./test [a|--all|-h|--help|-j|--java|-p|--python]
 -h|--help: show this help
 -a|--all: run all tests
 -j|--java: run java tests
 -p|--python: run python tests
 -pa: run python tests with automatic start of echoServer

TestEnviroment

The tests above have been run succesfully in the following environments:

MacOS

mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/local/share/java/maven3
Java version: 1.8.0_152, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"

python3 --version
Python 3.7.6

Raspbian

mvn -version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-armhf/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.19.75-v7l+", arch: "arm", family: "unix"

python3 --version
Python 3.7.3

Ubuntu

mvn -version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: /usr/local/src/apache-maven-3.3.3
Java version: 1.8.0_242, vendor: Private Build
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.0.0-37-generic", arch: "amd64", family: "unix"

python3 --version
Python 3.7.5

Travis

The travis environment used is an Ubuntu Xenial distribution.