Testing Representations in js Expressions

I am trying to find the perfect way to test my views written in Jade. They contain some logic. For example, on the home page, if a cookie has been set, it should show a button for a link to the main console and be able to log out; if there is no cookie, it should show a login.

Any advice is appreciated.

+3
source share
2 answers

Look at selenium

http://seleniumhq.org/

And of course the node adapter

https://github.com/LearnBoost/soda

+1
source

, ( , , ). , :

+1

All Articles