Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions regarding 16.1 and dropping Facades and JSON Serialization #20

Open
jmartens opened this issue May 25, 2022 · 3 comments
Open

Comments

@jmartens
Copy link
Contributor

It seems with the implementation of ESAPIX for Aria 16.1 (09254e8) a major change was made and Facades were removed . One of the major benefits of them was being able to unit test without access to the ESAPI scripting environment as demonstrated here and is written here.

We are using Aria 16. Is this is still possible in order to facilitate testing (and development)?

With the same commit it seems the serialization was also reduced drastically as the JSON serialization was also removed. I was able to find some XML Serialization code in ESAPIX/Extensions/SerializationExtensions.cs, but this seems to only deserialize. For unit testing it would be nice if this XML could be deserialized to the object model, but I have not found any options to do so. Are there any?

@mouawadma
Copy link

I would like to bump this issue as I agree with the above comment

@jmartens
Copy link
Contributor Author

jmartens commented Jan 27, 2023

From a private conversation with Mr Carden by email he stated he stopped the facade API since it is difficult to maintain and added a layer of complexity with multithreaded applications, he suggested Telerik Just Mock to fake VMS objects for unit tests.

We have not done so and are currently working on creating a solution internal to our institute, not sure if we will ever (be able to) open source it.

@mouawadma
Copy link

mouawadma commented Jan 29, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants