-
Notifications
You must be signed in to change notification settings - Fork 46
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
Comments
I would like to bump this issue as I agree with the above comment |
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. |
Interesting solution. Since most of my use cases are mostly based on pulling simple properties I've just been wrapping properties from esapi with my own types with two different constructors (one that takes the property I'm extracting as non csharp types and one that extracts the properties from esapi) but it takes a lot of work.Im curious what your institution is doing if you don't mind me asking?On Jan 27, 2023 13:35, Jonathan Martens ***@***.***> wrote:
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.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
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?
The text was updated successfully, but these errors were encountered: