• Welcome to KonaKart Community Forum. Please login or sign up.
 

Unit test integration

Started by johnclaus, April 25, 2008, 07:46:55 pm

Previous topic - Next topic

johnclaus

To all,

I was wondering if there are any plans to include a KK test framework (using JUnit/TestNG/JSUnit/HtmlUnit/etc.) in any future releases?  Again, this is a hefty order, but it would clearly be beneficial for KK's core developers along with any TDD shops (like ours :) ) implementing the store.

Thanks again,
John

ming

Hi John,

I'm not quite sure what you're asking for there...  To ensure that the KonaKart engines and their APIs are working we run 1000s of unit tests on multiple databases and platforms on a frequent basis (usually many times per day)... but we don't include all these tests in download kits.

What was it you were hoping to get from KonaKart that you can't build easily using a standard testing framework against your own particular code?

Regards,
Ming


johnclaus

Ming,

My apologies, I guess you just partially answered my question.  Would it be possible to have the KK team release their unit tests to the KK general public?

Thanks,
John

nitros

Yes, I definitely agree that if KK team releases those unit test, then while integrating our product with Konakart, we don't have to create mockup test data for KK apis.

ming

No, we have no plans to release our internal unit tests.   These test the engines and engine APIs so that you can rely on these working when you test your own application using your own tests.  They test at a much lower level than your tests should be testing.

The standard installation of KonaKart provides plenty of test data for you to use in your own unit tests, but far better than this, you should be setting your own particular configuration / catalog data to test those aspects that are specific to your own application.

Ming