Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
611 stars 179 forks source link

Missing configfile #476

Closed benlarsendk closed 2 months ago

benlarsendk commented 2 months ago

It seems like that a config file for running tests are missing. When running a clean install of the project, it fails with the following:

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   TestLibrary.init:64->loadConfig:92 ┬╗ FileNotFound Before running any unit test please create a config file at C:\Users\....\Cobalt\.\.test\config.properties
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Is there a config file available somewhere to be able to run the tests?

Auties00 commented 2 months ago

It seems like that a config file for running tests are missing. When running a clean install of the project, it fails with the following:


[INFO]

[INFO] Results:

[INFO]

[ERROR] Errors:

[ERROR]   TestLibrary.init:64->loadConfig:92 ┬╗ FileNotFound Before running any unit test please create a config file at C:\Users\....\Cobalt\.\.test\config.properties

[INFO]

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

Is there a config file available somewhere to be able to run the tests?

Don't run the ci, use -DskipTests=true