|
|
Show all
Featured Downloads:
fest-assert-1.0a1.zip fest-mocks-0.1-042807.zip fest-reflect-0.4.zip fest-swing-1.0a1.zip
fest-assert-1.0a1.zip fest-mocks-0.1-042807.zip fest-reflect-0.4.zip fest-swing-1.0a1.zip
Do you want to see FEST in action? Check the article "Test-driven GUI development with FEST" by Alex Ruiz. Video demonstrations and working code examples are included!
FEST is a collection of APIs, released under the Apache 2.0 license, which mission is to simplify software testing. It contains the following modules:
- DSL-oriented API for functional Swing GUI testing
- Simulation of user-generated events and reliable GUI component lookup
- Easy-to-use and powerful API that simplifies creation and maintenance of Swing GUI functional tests:
dialog.comboBox("domain").select("Users");
dialog.textBox("username").enterText("alex.ruiz");
dialog.button("ok").click();
dialog.optionPane().requireErrorMessage()
.requireMessage("Please enter your password");- 'Flexible' or 'fluent' assertions:
assertThat(yoda).isInstanceOf(Jedi.class)
.isEqualTo(foundJedi)
.isNotEqualTo(foundSith);- 'Fluent interface' for simplifying usage of reflection:
Person person = constructor().withParameterTypes(String.class)
.in(Person.class)
.newInstance("Yoda");
method("setName").withParameterTypes(String.class)
.in(person)
.invoke("Luke");
field("name").ofType(String.class)
.in(person)
.set("Anakin");- Eliminates code duplication when using mock objects
- Clearly separates mock expectations from code to test, improving code readability
Project links
Supporters
YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler





