utPLSQL / utPLSQL-PLSQL-Developer

utPLSQL Plugin for PL/SQL Developer
Apache License 2.0
24 stars 10 forks source link

Tests not running #8

Closed jtsoya539 closed 3 years ago

jtsoya539 commented 3 years ago

Plug-In installed correctly but test results window not showing up

PL/SQL Developer Version 14.0.0.1961 (64 bit) utPLSQL v3.1.10.3349 Plug-In Version 1.1.0

simasch commented 3 years ago

@jtsoya539 Can you please start plsqldev.exe with debug:

plsqldev.exe DebugPlugins

And then post the Debug.txt file that is located here: "c:\Users\\AppData\Roaming\PLSQL Developer 14\Debug.txt"

Thank you

jtsoya539 commented 3 years ago

I pressed Tools > Run all tests of current user three times.. nothing happened.

Here is the Debug.txt file: Debug.txt

simasch commented 3 years ago

And you are connected to the database in PL/SQL Developer?

jtsoya539 commented 3 years ago

Sure. This is the result when running BEGIN ut.run(); END;

Captura de pantalla 2021-01-09 134459

Just let me know if I can help you in some way Thanks!

simasch commented 3 years ago

Can you go to the package k_dato in the objects browser and try to run the tests from the context menu, please?

jtsoya539 commented 3 years ago

nothing happens either :(

Debug.txt

simasch commented 3 years ago

I would like to provide a debug version for you. Are you using the 32bit or 64bit version?

jtsoya539 commented 3 years ago

64bit version

simasch commented 3 years ago

Can you please try with this version: https://github.com/utPLSQL/utPLSQL-PLSQL-Developer/releases/tag/1.1.1.RC1

Thank you

jtsoya539 commented 3 years ago

Sorry, same behavior

When I'm not connected I get this error: Captura de pantalla 2021-01-09 141759

But, when I'm connected nothing happens

Debug.txt

simasch commented 3 years ago

Ok. I will have to try to reproduce the problem. As I can see in the logfile you are using Oracle XE 18c.

jtsoya539 commented 3 years ago

Yes, Oracle XE 18c

Ok. Thanks in advance!

simasch commented 3 years ago

Hi @jtsoya539 which Windows version are you running?

And can you please install https://github.com/utPLSQL/utPLSQL-PLSQL-Developer/releases/tag/1.1.1.RC2 and send me a screenshot if there is a error dialog shown?

Thank you

jtsoya539 commented 3 years ago

Hi @simasch

I'm running Windows 10 Home 20H2 Build 19042.685

Sorry, no error dialog shown: FVfVYKrVSN

simasch commented 3 years ago

That's very strange! I installed risk and I can run all the tests.

I've a standalone version attached. Can you try to run this and tell me what happens? Make sure that ORACLE_HOME is set before you run the app.

utPLSQL.UI.Standalone.zip

jtsoya539 commented 3 years ago

It's working now! image

Apparently, the problem is caused by ORACLE_HOME environment variable not defined.

simasch commented 3 years ago

Thanks for letting me know.

I will close this issue and open a new one. The plugin should use the Oracle Home used by PL/SQL Developer.

simasch commented 3 years ago

Will be fixed with https://github.com/utPLSQL/utPLSQL-PLSQL-Developer/issues/9

jtsoya539 commented 3 years ago

@simasch Thanks for your support and for this great Plug-In!

I appreciate your work Cheers!

simasch commented 3 years ago

@jtsoya539 I just release a new version: https://github.com/utPLSQL/utPLSQL-PLSQL-Developer/releases/tag/1.1.1

Now you don't need to set ORACLE_HOME environment variable.

jtsoya539 commented 3 years ago

Solved!