uniform-team / Uniform-Validation-Language

A logic language to simplify and improve online form validation.
Apache License 2.0
1 stars 0 forks source link

Rerun Applicable Client Tests on Server #59

Open dgp1130 opened 7 years ago

dgp1130 commented 7 years ago

Parity between the client and server instances of the library are critical, and there are some 350+ tests for the client codebase, covering the majority of the code. There are handful of server-side tests as well covering the server-only components.

It would be really cool if we could rerun those same client-side tests on the server which would improve code coverage by making sure that everything works as expected even when run within a Node environment. A few tests only apply to the client (such as enabled and visible functionality), but the majority of the tests should run on the server. These should definitely be included into the testing process.