Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Testing Documentation + Not being able to use unit testing #1480

Open
Walshest opened this issue May 6, 2021 · 1 comment
Open

Unit Testing Documentation + Not being able to use unit testing #1480

Walshest opened this issue May 6, 2021 · 1 comment

Comments

@Walshest
Copy link

Walshest commented May 6, 2021

Hi,

I wanted to test out the unit testing from IBPSA to see if it is better than the regression testing built in within Dymola. (for my own library).

Issues in documentation:

  • https://github.com/ibpsa/modelica-ibpsa/wiki/Unit-Tests
  • No recommendation for which python environment. This meant I spent time trying to get it to work with Spyder in Anaconda but didn't work
  • Works for Windows if python is installed in the command line.
  • Several extra packages that need to be installed, which weren't mentioned: pytidylib, pyfunnel, simplejson
  • Windows command doesn't work,
    image
 I had to change the example for it  to work e.g. 
cd C:\Users\ModelicaLibraries\modelica-ibpsa\IBPSA
python ..\bin\runUnitTests.py -b 

Issues not finding Dymola when running:

  • Once being able to setup the correct paths and libraries, I still get an error when running of not being able to find Dymola.
    image
  • I am running on Windows 10 with Dymola versions installed: 2021, 2021x, 2019 FD01.

Any help would be great to get this working.

@mwetter
Copy link
Contributor

mwetter commented May 18, 2021

The "Did not find executable 'dymola'" is caused because dymola is not recognized as a command. You may need to put it in your PATH in the system environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants