How to Use Mockito to Test JSF Components

Posted 5 CommentsPosted in automated tests, BootsFaces, Mockito, quality assurance

There are two strategies to write JUnit test for JSF applications. The first strategy uses a tool like Arquillian to start both an application server and a browser that runs a JSF application. Yeray Santana Borges used this strategy to contribute a couple of JUnit tests to BootsFaces. This approach has many advantages. It runs […]