|
by Ice Cream Jonsey 03/04/2015, 4:15pm PST |
|
|
|
|
|
I'm using the Selenium Webdriver as Junits to bang against a server and automate stuff. Most of my code IS Junits, with @Test sitting there and everything.
I've got some classes most easily described as utility classes. And I want to get both myself and my team used to code coverage. Yes it is a little silly to have Junits for the automation, but not really if you could see the code.
I'm thinking of doing a kind of integration test for these utility classes. Like, an HTML5 page with one of everything we can do in HTML5. Radio buttons, drop downs, blinking text, the works. I could then ensure that my utilities return what I expect when they bang against this simple page.
I feel I am missing something obvious however, so I thought I'd go to Caltrops for help or abuse. Well, I came for the help and I'll stay for the abuse. Anyway, how would you guys accomplish what I've described?
ICJ |
|
|
|
|
|
|
|