Comments (12)
It's not working.
from utplsql-sqldeveloper.
@phsalvisberg
I would need to double check but I think it was reliable before.
Only develop (3.1.8-develop) had a bug as I went too far with optimizetions.
Let me check change history to see.
from utplsql-sqldeveloper.
@jgebal I checked. My JUnit test case fails with 3.1.7. All functions return false instead of true, because they do not update the annotation cache (without using the DDL trigger). I have not tested that with 3.1.8 yet. Maybe this is an issue there as well.
from utplsql-sqldeveloper.
The functionality was introduced in this change
Since then it wasn't changed until this change and then this change in 3.1.8-develop
I'm no sure why the functions don't work for you in 3.1.7. They should as they should update cache.
Perhaps it's not worth digging in old versions.
If this didn't work for you before 3.1.8, lets leave it active since 3.1.8 only.
from utplsql-sqldeveloper.
The problem is that has_suite
, is_suite
and is_test
do not check if the annotation cache is up-to-date. This is a problem when you install utPLSQL with install_headless.sql
instead of install_headless_with_trigger.sql
. Hence this works in the develop environment and in our CI environment where install_headless_with_trigger.sql
is used behind the scenes. These functions do not deliver a reliable result. Even in 3.1.8 :-(
from utplsql-sqldeveloper.
IMHO the functions should check if the DDL trigger is active. If not they have to update the annotation cache first. Similar logic as in get_suites_info
.
from utplsql-sqldeveloper.
If this will not be fixed in 3.1.8 I'll have to undo this change.
from utplsql-sqldeveloper.
They do, and they always did.
line
refresh_cache(l_owner_name);
Is responsible for doing the check and cache refresh.
from utplsql-sqldeveloper.
I can have a look at this in the evening.
from utplsql-sqldeveloper.
@jgebal Why have you reopened this issue?
from utplsql-sqldeveloper.
Because we're discussing it and As you said, you might need to revert the change.
Feel free to close if you want. I can open a different issue on utPLSQL
from utplsql-sqldeveloper.
Ok, I checked it again.
It works as expected (without trigger) in v3.1.8.
It does not work (without trigger) in v3.1.7. JUnit test fails.
Hence I close this issue.
from utplsql-sqldeveloper.
Related Issues (20)
- Change default value of "Show description (if present)" preference HOT 2
- Typo HOT 1
- Can't find libraries HOT 1
- Suggestions for working with legacy codebase with "UT" package? HOT 3
- Empty utPLSQL windows when `Show suites (hierarchical view of tests)?` is unchecked HOT 9
- Test result window not showing up HOT 7
- Multiple spaces are replaced by single spaces in failure message HOT 2
- Add support for disabled reason with utPLSQL v3.1.12 HOT 2
- plans to update to more recent SQL Developer version? HOT 7
- Update code templates using AAA
- No test found HOT 15
- Missing line break after suite annotation in generator skeleton template
- 'Run utPLSQL test' on the test package doesn't display the utPLSQL window. HOT 2
- German translation of "Failures" is inconsistent
- Opportunities for silent rolllout with an SCCM like ACMP ? HOT 2
- Instructions for generating coverage report without access to public internet HOT 3
- Enable one unit test in a bunch of Unit Tests HOT 4
- Start utPLSQL tests with an arbitrary utPLSQL path
- Pressing Create code templates does nothing HOT 2
- Enhancement: Keep Test Code Coverage module list settings between runs HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utplsql-sqldeveloper.