mensxmachina / ETIA

Automated Causal Discovery library in python
2 stars 1 forks source link

No tests running despite correct setup #1

Open mcharrak opened 1 week ago

mcharrak commented 1 week ago

Hi,

I’ve ensured all dependencies, including Java and R, are properly installed. However, when I try to run the test suite, no tests are executed. Here’s the output:

$ pytest tests/
========================================================================== test session starts ===========================================================================
platform linux -- Python 3.10.14, pytest-8.3.2, pluggy-1.5.0
rootdir: /home/user/ETIA
configfile: pyproject.toml
plugins: jaxtyping-0.2.33, typeguard-2.13.3
collected 0 items                                                                                                                                                        

========================================================================= no tests ran in 0.01s ==========================================================================

For reference, here are the versions of Python, Java, and R installed on my system:

$ python --version && java -version && R --version
Python 3.10.13
openjdk version "17.0.11-internal" 2024-04-16
OpenJDK Runtime Environment (build 17.0.11-internal+0-adhoc..src)
OpenJDK 64-Bit Server VM (build 17.0.11-internal+0-adhoc..src, mixed mode, sharing)
R version 4.4.1 (2024-06-14) -- "Race for Your Life"

Could you please help me figure out why no tests are running and how to resolve this issue?

droubo commented 1 week ago

Hello, thank you for your feedback, it is much appreciated. The installation guide was outdated on README, due to the constant developoment of the library (i updated it now, but please also refer to (https://etia.readthedocs.io/en/latest/installation_guide.html). Furthermore, currently, tests are under developoment. Due to changes in the library structure/outputs we need to rewrite them correctly. To test the library you can follow this example usage (https://etia.readthedocs.io/en/latest/example_usage.html) and give us your feedback. Thank you for your understanding and sorry for any inconvinience since this is still an on-going work.

mcharrak commented 1 week ago

Thanks, I will try this.