Testing JavaFX GUI. Tips from JavaFX quality team РИТ++ 2010
Тезисы
Тезисы:
Цель доклада - научить слушателей разрабатывать и использовать автоматические тесты для FX приложений. В докладе будет описан инструментарий тестирования, подходы, технологии, вопросы эффективности тестирования и анализа тестовых результатов. Будут показаны и созданы автоматические тесты для простых приложений и также будут описаны и продемонстрированы существующие тестовые базы для продуктов, построенных на FX.
The goal of the talk is to teach the audience to develop and use automated testing as part of development process of FX applications. We will be showing and discussing tools, approaches, technological aspects, test development and result analysis effectiveness. We will be creating some UI tests from scratch and also we will be talking about and showing existing test suites for existing FX projects.
Tips from JavaFX quality team.
Test automation is an essential part of a software development process. Being used wisely, it
- optimizes testing resources
- increases testing quality
- leads to earlier bug detection
- allows to build continuous development processes
UI Test automation requires tools, experience and human time investment. The session demonstrates a solution used by JavaFX quality team based on experience of testing such products as Swing, NetBeans, JavaFX SDK and JavaFX Authoring tool. The solution is designed to address the key aspects of UI test automation: effectiveness, test base scalability, stability, and maintainability. The core part of the solution is an open source high-level UI test library Jemmy. During the session, representatives of the JavaFX will be creating JavaFX UI tests from scratch and demonstrating existing test base for real JavaFX products. They will give an overview of JemmyFX API and explain how UI test automation aspects are applied to real test code. The session is intended for JavaFX application developers and quality engineers as well as for everyone interested in UI testing techniques and approaches.