Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

J3Unit

J3Unit Over the weekend, I learned about J3Unit - a new object oriented JavaScript testing framework.

J3Unit is an object-oriented unit testing framework for JavaScript. J3Unit runs JavaScript tests directly in the web browser and can be automated using JUnit and Jetty. J3Unit builds on previous work by JSUnit and Script.aculo.us to provide a better way to automate JavaScript unit tests. Object-oriented JavaScript unit tests are written using the Script.aculo.us Test.Unit.Runner object, which is in turn built upon the prototype JavaScript library.

J3Unit has 3 modes of operation: Static Mode, Local Browser Mode, and Remote Browser Mode

To me, this looks similar to Selenium. I'd definitely like to explore using this package or Selenium in AppFuse.

Currently, AppFuse uses Canoo WebTest, which is based on HtmlUnit. The current version of HtmlUnit doesn't support Prototype, or any libraries that depend on it. The good news is "This will be quite simple to fix".

Posted in Java at Jan 09 2006, 05:41:42 AM MST 2 Comments
Comments:

Hi Matt, bit of a shameless ad here, but you might also be interested in Floyd (https://floyd.dev.java.net), which I've recently started at java.net. It allows to test web applications via an embedded browser (and embedded web server if desired) from normal Java unit tests (somewhat similar to what Watir does for Ruby). Currently supported are Mozilla and Jetty, and IE/Safari/Konqueror & Tomcat support is on the way.

Posted by Thomas Dudziak on January 09, 2006 at 07:03 AM MST #

Selenium is not a javascript testing framework. Its a tool that allows testing of web applications kinda the way test director does but better since its not as intrusive and easier to setup. There's also a kick ass recorder for Selenium called Selenium-IDE which I've been using a lot lately. It just saves a whole lot of time and makes writing tests a breeze. I have completely abandoned Canoo in favor of Selenium. Selenium also supports testing of Ajax based web apps.

Posted by Sanjiv Jivan on January 11, 2006 at 06:39 PM MST #

Post a Comment:
  • HTML Syntax: Allowed