Skip to main content

Unity commands and responses for coeus-python-framework.

Project description

Coeus-Unity

About

Coeus-Unity is a collection of commands and assertions built on coeus-test package for python. These commands support remote integration tests in Unity with the use of the C# Coeus test framework.

Setup

Simply install the requirement into your package.

pip install coeus-test-unity

Commands

Commands offer no response validation. You can use assertions for that.

import commands

response = commands.query_transform_exists(cli, "My/Transform Hierarchy/Object (Clone)")
response = commands.query_scene_loaded(cli, "AppSetup")
response = commands.query_renderer_visible(cli, "My/Target/Object (Clone)")

response = commands.await_transform_exists(cli, "My/Transform Hierarchy/Object (Clone)")
# Waits for renderer to become not visible based on False...
response = commands.await_renderer_visible(cli, "My/Transform Hierarchy/Object (Clone)", False)
response = commands.await_scene_loaded(cli, "AppSetup")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coeus-test-unity-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coeus_test_unity-0.1.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file coeus-test-unity-0.1.0.tar.gz.

File metadata

  • Download URL: coeus-test-unity-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for coeus-test-unity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7c3730acbf9c2c0e19aa39d977c75236c7711df47c5bb93ea1848b30d0706087
MD5 247236cee204475393526f1d123918a3
BLAKE2b-256 98a15a4910db906b5749745a1d81adec1d7ec407993f3739c09b67cb39e7f15b

See more details on using hashes here.

File details

Details for the file coeus_test_unity-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: coeus_test_unity-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for coeus_test_unity-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5c25995cd58b31c88fa6c38e144d37ded6d7b2423cdb38e9657b94d535bae8ef
MD5 dc9c5bbb7ddd8d18cae481594c1d82de
BLAKE2b-256 989f895548c89be4b1d1a11f5fb694d93f4653c72f771b9e2d63908734a9e1de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page