Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Serialization issue when verification runs same analysis multiple times #1569
Some analyses return AnalysisResults. They are currently stored in separate files and the Assure representation point to the respective AnalysisResult object by reference. If an analysis on the same instance object is invoked multiple times, then Assure references multiple AnalysisResult objects while only the latest one is kept in a resource. This leads to the Assure file serialization failing to generate the serialized reference.
Either the same AnalysisResult should be reused for successive verifications, or each result should be kept in a unique Resource.