haraldmaida / scalatestfx

Write TestFX tests using ScalaTest specifications

GitHub

ScalaTestFX     Bintray JCenter

Build Status License Scaladoc Join the chat at https://gitter.im/haraldmaida/ScalaTestFX

Write TestFX tests using ScalaTest specifications

About

ScalaTestFX is about testing ScalaFX or JavaFX applications in Scala by adopting Scala and ScalaTest like features for TestFX.

(ScalaTest, TestFX) => ScalaTextFX

Motivation

I want to write automated UI-test cases for an application written in Scala that uses ScalaFX. OK, any ScalaFX application is somehow also a JavaFX application. Fortunatly I came across TestFX. TestFX is a great framework to test the UI of JavaFX applications. It provides a DSL for controlling and assertion of a JavaFX-application. The DSL is as good as it can get in Java and JUnit.

The application to be tested is written in Scala. Consequently I want to write the test cases in Scala too. I decided to use ScalaTest. That was the birth of ScalaTestFX.

I started ScalaTestFX as a small framework to use the TestFX library in test cases written as ScalaTest specifications.

Status

License

Copyright (C) 2016 Innoave.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.