I’ve used the Selenium Firefox plugin to test web servers written in Go. It’s great for end to end testing of a web server because it doesn’t know or care what the server is written in. It’s only concerned with the resulting HTML.
I recorded some web sessions using the plugin and can then play them back to test any changes to the code. The sessions are recorded in plain text so you can edit the description and replace any variable content with wildcards. For example, one of the tests involved creating an object using fixed values. The resulting page displays the result including the UID, so it’s mostly the same each time except for the UID. My edited Selenium script checks each field but uses a wildcard for the UID. There are lots of web scripting systems that do this sort of testing, but Selenium is the only one I know about that has a nice easy visual interface and is free. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.