From 4f7f4f50f0427dd5a4ed74d8a759a217fa7c4de7 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Sun, 21 May 2017 16:36:05 -0400 Subject: [PATCH] goals --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 81aaf7e..f9c9eb6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ # Example of End To End Testing Using Selenium Webdriver and Jasmine Tests With Istanbul Code Coverage +## Goal + +- Inside of `src` we have a very basic website with some really simple JS + - The JS creates two click handlers: + - when an `a` tag is clicked, append a div with some text in it to the body + - when a `div` tag is clicked, add some text to the body +- We want to set up tests that will: + - Test that the page title is `Test Title` + - Test that clicking on a link will indeed create a div with the text `added through jquery` +- Lastly, we want to create a coverage report that will show how much of our JS code was tested + - **NOTE:** We intentionally omit testing the JS code regarding clicking on a `div` tag, so that we can see in our coverage that it was not run + ## Installation ### Global Installation