# Automatic openEHR Template Tester **Category:** [Tools](https://discourse.openehr.org/c/tool-dev/36) **Created:** 2021-07-08 08:28 UTC **Views:** 891 **Replies:** 1 **URL:** https://discourse.openehr.org/t/automatic-openehr-template-tester/1692 --- ## Post #1 by @Sidharth_Ramesh So I've come up with a [testing tool](https://github.com/medblocks/triggerfinger) to autogenerate forms for an openEHR template and test it against EHRbase. [The report](https://ci.medblocks.org/job/openEHR%20Template%20Tester/3/HTML_20Report/) includes the template opt, the different FLAT compositions and screenshots from the UI that generated the composition. You can see at a glance which compositions passed and which ones failed. I thought it'll help the community come up with better examples and test cases. ![image|631x500](upload://8o4J7qYBV8NGx1Cwt0GpbP5hqaP.png) ![image|539x500](upload://uiMaypjSG2R7kBEmLeFUte9nWJM.png) ![image|536x499](upload://341PSsT8s8fRiGIj1LebMPQhivO.png) It's currently read-only for people without a login, but I'd be happy to provide a login to some community members. You could also send me a template and I will send you back a link with a report like the one above. I'm mostly doing this to improve the reliability of forms autogenerated using [medblocks-ui](https://github.com/medblocks/medblocks-ui), but it might also serve as a testing bed for openEHR CDRs. I'm also looking to test this against other CDRs like Better and EHR.DB. Is there any way to do this? Since EHRbase is open-source, I wipe out the database before every test run. However, I'm not sure if this is possible with the other vendors. --- ## Post #2 by @birger.haarbrandt Hey Sidharth, you madman! Pretty cool stuff, this will be super helpful to get our flat implementation ready for production and may also be a great tool to help create examples for frontend devs and as you said for conformance testing :) Great work and my team would surely be happy to get access --- **Canonical:** https://discourse.openehr.org/t/automatic-openehr-template-tester/1692 **Original content:** https://discourse.openehr.org/t/automatic-openehr-template-tester/1692