sitemule / noxDB

Not only XML. SQL,JSON and XML made easy for IBM i
MIT License
41 stars 20 forks source link

added unit tests #40

Closed m1h43l closed 3 years ago

m1h43l commented 3 years ago

This PR adds unit tests for the JSON parser, JSON serializer and locating nodes in the object tree. Either RPGUnit or iRPGUnit can be used for executing the tests (though I only tested it with iRPGUnit but the interface is the same).

Before executing the tests the current working directory of the job needs to be set to the noxdb folder

CHGCURDIR '/path/to/noxdb'

NielsLiisberg commented 3 years ago

Perfect !!