rspec like unit testing framework for java using groovy

Spock is a testing and specification framework for Java and Groovy developers. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired from JUnit, jMock, RSpec, Groovy, Scala, Vulcans, and other fascinating life forms.

@Speck
class HelloSpock {
   
def "can you figure out what I'm up to?"() {
        expect
:
        name
.size() == size

       
where:
        name
<< ["Kirk", "Spock", "Scotty"]
        size
<< [4, 5, 6]
   
}
}

 

Thank you for your interest!

We will contact you as soon as possible.

Want to Know More?

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com
Thank you for your interest!

We will contact you as soon as possible.

Let's talk

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com