23
Views
4
Comments
[Testing Framework] Example for Client-side tests
testing-framework
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

Hi Leonardo,


Do you have any examples of the client-side part of the testing framework? i see a lot of client actions but i'm not sure on how to set this up properly.


Bas

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Hi Bas.

The client-side part is still a proof of concept, and I haven't worked on it for a while.

I'm interested in knowing what are your use cases, so when I resume the client-side framework I can tailor it for use cases that are most relevant.

2023-04-19 18-38-51
Bas de Jong

Hey Leonardo,

Thanks for the answer, we would mainly want to use it to test client-side validation logic (on top of the server-side validation logic ofcourse).


Bas

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP


Would that involve user interaction? Or are you planning to test just client-side actions that perform the validation (without considering user interaction or widget state)?

2023-04-19 18-38-51
Bas de Jong

The last one, just the validation business rules that are on the client side, if they have the desired outcome in serveral scenario's. 

It should be the same as the server-side validation but currently we can only test this by creating (expensive) UI tests in tools like selenium. So it would be super nice to be able to test client actions (within screens, or just stand-alone ones)


Bas

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.