Unit-test for DBReport

Users had issues with subtotal functions. Some reports works others don’t. That’s the more dificult to fix.

That’s unit-tests for, “…take the smallest piece of testable software in the application, isolate it from the remainder of the code, and determine whether it behaves exactly as you expect.

In case of subtotals I have to code some kind of helper function returning the value and check if is equal of a field of query.

I’m preparing a big re-coding (some people called refactoring) so the unit-test are a valuable tool for software quality.

A video unit-test implementation.

By the way, i use sakila db and add demo reports (a +500 pages report!). I will add more.

A video with sakila demo reports.

Something additional, besides solving some bugs, there is support for MBS barcode. At the beginning I chose Simbarcodes of Matthew Combatti for ease of implementation in DBReport and because it is very active in the forum, but Matthew did not answer me an email to buy the component (if Matthew is reading this, please answer: how do I buy?) so I had to implement BarcodeMBS for a client who needed barcode on the reports.

A video BarcodeMBS workflow.

You can download the last version here (mirror).

Good code.

So Long, and Thanks for All the Fish.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s