Quantcast
Channel: codemonth blog
Browsing all 37 articles
Browse latest View live

Creating real test data - Fast and Efficiently

When I build RANDOM_NINJA I knew already one of things I wanted to use that library for. Building good valid and life-like test data has and is always a really big problem. The base for good test data...

View Article



Test data and foreign keys

In my last entry on testdata_ninja I showed the basics on how to create your own custom test data generators.Once you have created the simple ones you probably want to extend it a little bit, and...

View Article

Generating randomized incremental values

In the previous entries, I explained the basics of testdata_ninja and then I explained how to create foreign key relations between your test data and existing tables. This time I will show how you can...

View Article

Take a random REST

I needed to test ORDS for some webservice related projects at work. So I decided to build a rest interface for all the different random data functions in the RANDOM_NINJA package to test out, just how...

View Article

Completing JWT_NINjA for full JWT support

In the single blog post I wrote on the JWT_NINJA package back in June last year, I ended the post by saying that I needed to implement both a verify and a parse function for the package.Well, it took...

View Article


Version your Oracle ORDS REST API using Edition Based Redefinition

Updated, May 4 2017: New approach One of the last entries in my blog described how I could quickly publish all random_ninja functions as rest endpoints. While I am still waiting for the ORDS team at...

View Article

Adding support for Edition Based Redefinition for PROMISES_NINJA

As part of another project, where I need to support the Edition Based Redefinition feature, I needed to add support inside the promise class for the dbms_scheduler job_class parameter. The job_class...

View Article

PLSQL promises vs dbms_scheduler chains

10 lines of code vs 80 lines of code! When implementing JS promises in PLSQL, one of the main use cases is the ability that promises gives, to easily chain together dependent steps defined as...

View Article


Oracle text and implementing codemonth website search

I promised on the ODTUG codetalk series to implement search on the codemonth website. So this entry is a short description of the first steps I have done to add simple search capability to the site.

View Article


Extending Codemonth search to include Oracle Text fuzzy and stem searches

My previous entry showed how the contains operator of Oracle Text made it possible to build a search function for my website. It was a basic text search with no additional capability. For quick recap...

View Article

Even more test data generated using the testdata_ninja plsql package

Last entry to the testdata_ninja blog roll, was about how to create iterators that were unique when you create test data rows. In this entry I will show how to use back references to other column...

View Article

PLSQL test data from cursor to table or from cursor to csv

When you are creating test data it is usually either to create a quick test table for a piece of code, or because you need to simulate data extraction to another system. That is why any generator...

View Article

Recursive test data using plsql and the testdata_ninja package

Just the other day I was running a test of a system at work. I have already run several tests against this system, so I already have a test data generator to generate clients in the system. This time...

View Article


PLSQL Test data generators with auto back reference fields

So in another entry I described how to manually reference back to other fields to use as input values in other columns for the row generator. What could be a bit more user friendly than that? Maybe...

View Article

Chinese support added to parts of the plsql random data generator

For quite a while I have been wanting to add Chinese support to some of the dbms_random functions, and this last weekend I finally got some time to work a little bit on it. So now the library support...

View Article


Topological sorting in PLSQL

For my testdata_ninja library, I recently created the field auto reference feature, where a value from one field can be used as an input to a generator for another field. Part of this feature involves...

View Article

Random null value in plsql generated data

I have added another small feature to the testdata library. The ability to create random data is good, but sometimes you also need to have "gaps" in that data. So I made it possible to randomly create...

View Article

Browsing all 37 articles
Browse latest View live




Latest Images