Slide 1

Slide 1 text

your your JavaScript with JUnit, JavaScript with JUnit, Groovy Groovy and and Test Test Nashorn Nashorn Spock Spock Jasmine Jasmine Niko Köbler Independent Software-Architect, Developer & Trainer > > > [email protected] www.n-k.de @dasniko

Slide 2

Slide 2 text

Nashorn Nashorn JavaScript on the JVM JavaScript on the JVM > > http://openjdk.java.net/projects/nashorn https://blogs.oracle.com/nashorn

Slide 3

Slide 3 text

Testframework Testframework Spock Spock testing framework for Java and Groovy apps > beautiful and highly expressive specification language JUnit runner > inspired from , , , , , , , and other fascinating life forms. > > JUnit RSpec jMock Mockito Groovy Scala Vulcans > > > https://code.google.com/p/spock/ http://docs.spockframework.org https://github.com/spockframework

Slide 4

Slide 4 text

Jasmine Jasmine > http://jasmine.github.io Behaviour-Driven Behaviour-Driven JavaScript JavaScript

Slide 5

Slide 5 text

! ! Code Code https://github.com/dasniko/nashorn-spock-jasmine/ Let's see some Let's see some

Slide 6

Slide 6 text

Thank Thank ! ! you you Any Any ? ? Questions Questions Niko Köbler Independent Software-Architect, Developer & Trainer > > > [email protected] www.n-k.de @dasniko : Running Distributed Node.js Apps in JVM Environments [CON2133] Wednesday, Oct 28, 4:30 p.m. | Hilton—Golden Gate 6/7/8 Nodyn and Vert.x