DAML Test Coverage?

Mod note: We now have test coverage metrics for Templates and Choices as of 1.11.0 RC and this feature may get further improvement in future releases

I haven’t seen it explicitly mentioned yet, so I figured I’d ask.

Whats the view on creating some sort of reporting or coverage metrics from DAML Scripts/Scenarios for DAML code? Is there a tool that provides this today? Is this on the roadmap of the SDK?

Links for conversation:

2 Likes

Hi @akhan, at the moment there is no tooling for reporting test coverage metrics. It is a very reasonable feature request but for now it is not on our roadmap so I cannot give you a timeline.

2 Likes

Is there a GH issue for it? Would be good to track for when there’s capacity to add it.

1 Like

Not yet, we’re waiting for you to create one :slightly_smiling_face:

1 Like

Opened one :slightly_smiling_face:

2 Likes

Following up, this hasn’t made it into a release yet but we now have coverage of templates and choices output from damlc test. Thanks Robin!

1 Like

The 1.10 release train has departed already so this will not be available before 1.11.

1 Like

Hey @akhan we now have test coverage in the latest RC, full release notes are here if you wanted to check it out.