...
I've included DCL_Clarion_TXAParser_Tests.app in the DevRoadmaps Clarion Library on GitHub.
There are two essential steps to configuring any new unit test app:
...
I made one minor change in my test code, adding a second check for the number of procedures:
This single test procedure with three AssertThat statements is by no means an exhaustive test of the parser class; much more should be done, including verifying that the embed content is what is expected.
...
When I build the app I get an automatic execution of the above tests (thanks to the post-build task), like this:
I can verify my embed data test by changing one line of one embed point in the TXA, which results in a failed AssertThat statement:
...