Skip to content

jweden/frontEnd-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontEnd-testing

You can run this demo in a couple ways. You can launch SpecRunner.html in your browser. You can bring up myForm.html to see the app under test. Also, you can install Karma and run the tests using the my.conf.js karma config file as shown in the screencast here.

What does this do? It runs 6 jasmine javascript tests that use an html fixture to pre-populate the DOM. Then we launch tests also by accessing the DOM using jquery to fill out the form and click. You can play with this demo at codepen here. The whole idea here is that we can run javascript unit tests (in browser) where the tests are validating the DOM was manipulated correctly. One test will fail in IE as a nice example of a cross-browser issue (see screencast for more info).

About

Some demos for web front end testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published