Home

Awesome

ReGaHss Testing Environment

CI XO code style Known Vulnerabilities License: MIT

This repository performs automated daily system tests of ReGaHss - the HomeMatic (O)CCU "Logic Layer" engine. It uses a mocha-based node.js testing framework to test all published ReGaHss binaries in the OCCU environment published by eQ3. Beside testing common corner cases of the embedded scripting language of ReGaHss this testing framework also tests for security vulnerabilities.

Recent test results for the different build flavors of ReGaHss can be viewed here:

HOWTO run the tests locally

# Start the travis container
docker run --name travis -dit quay.io/travisci/travis-ruby /sbin/init

# Get a shell
docker start travis
docker exec -it travis bash -l

# Install Node.js
nvm install 10

# Clone the repo
cd /home/travis
git clone https://github.com/jens-maus/occu-test

# Install dependencies
cd occu-test
npm install

# Run the tests
npm test

homematic.regadom

ReGaHss is started with a prebuilt homematic.regadom which contains the following variables, programs and objects:

Variables

Programs

Todo

Links

Contributing

Help and Feedback highly appreciated, Pull Requests Welcome! :-)

License

MIT (c) 2017-2020 Jens Maus, Sebastian Raff