Unit Tests



Unit Tests

0 0


jmVeiga.github.io

Unit Tests Presentation

On Github jmVeiga / jmVeiga.github.io

Unit Tests

With Groovy & Spock Framework

To navigate use: space, →, next, previous.

What are Unit Tests?

...

What are they for

  • ...
  • ...
  • ...
  • ...
  • ...

Soft. Development cycle

Some Key Points

  • ...
  • ...
  • ...
  • ...
  • ...

Why Groovy

Why Spock

Spock Spec

					def "delivers events to all subscribers"() 
					{
    					 when:
    					  pub.send("event")
 
    					 then:
    					  1 * sub1.receive("event")
    					  1 * sub2.receive("event")
  					}
					

The End

Here's a Bunny