Skip to content

Running Unit tests

Filip edited this page Jan 8, 2015 · 15 revisions

IDEAS Unit tests

This topic explains how to run the IDEAS unit tests. The instructions work on linux but should work on windows too.

Download BuildingsPy:

First you need to download BuildingsPy from https://github.com/lbl-srg/BuildingsPy:

git clone [email protected]:lbl-srg/BuildingsPy.git

Install BuildingsPy:

This package needs to be built and installed. Open terminal in the just downloaded BuildingsPy directory and execute:

python setup.py build
sudo python setup.py install

BuildingsPy is now installed.

Run Unit test:

The unit tests can be run by opening terminal in the IDEAS root directory and executing the following commands:

cd IDEAS
python RunUnitTests.py
Clone this wiki locally