cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to measure test Coverage

rengineeringand
4-Participant

How to measure test Coverage

We are writing automated integration tests to our platform. We are using Selenium and NUnit to write the test code in C#.

Our problem now would be on measuring our test coverage :

We write our methods in Javascript, and we know that they are all available as REST API, but as we are interest in doing code coverage, to do this we would have to instrument the generated mashups javascript files.

Is there a way that we could do this? How could we access these files?

Did someone already tried test coverage on ThingWorx platform?

Thanks.

2 REPLIES 2

Radix, if understand you right you are looking for the code behind the Mashups that are created within the Mashup Builder, I think the only check you can perform is on the entity's metadata which is defined in XML format. I'm not aware if you can actually get access to the code itself

Thank you for your answer.

Do you have any idea how we could measure test coverage on ThingWorx?

If we can't access the code, it would be really difficult.

Top Tags