Testing

  • submit to reddit

The Future of Web MVC Testing

Ok, ok, I'm excited. Right now I just was able to hack my way through a test with Spring 3.2 and the web context. The method I ended up writing looked like...

0 replies - 2167 views - 12/27/12 by Ken Rimple in Articles

Test your JAX-RS 2.0 Web Service URIs… Without Mocks

 After the announcement of the NoMock Movement I had to write another post about integration testing. Here it goes  : how to test your nice RESTful...

0 replies - 2315 views - 12/27/12 by Antonio Goncalves in Articles

JUnit Testing REST Services and Spring MVC

For people in a hurry get the latest code in Github and run “mvn test” Introduction There is a good comparison of Webservices and REST here. REST...

0 replies - 2702 views - 12/24/12 by Krishna Prasad in Articles

Writing Parameterized Tests with JUnit Rules

I can’t help repeating myself: JUnit Rules are among the best, maybe the best, feature of JUnit. I even gave a talk at Devoxx about Junit Rules. The great...

0 replies - 2323 views - 12/21/12 by Jens Schauder in Articles

Using Spring FakeFtpServer to JUnit test a Spring Integration Flow

For people in hurry, get the latest code and the steps in GitHub. To run the junit test, run “mvn test” and understand the test flow. Introduction:...

0 replies - 2098 views - 12/13/12 by Krishna Prasad in Articles

Launching the NoMock Movement

 Everything started when Eve said ‘No‘ when God told her not to eat the fruit. Then my daughter said ‘No‘ when I told her to clean her room. Then...

0 replies - 2208 views - 12/06/12 by Antonio Goncalves in Articles

7 Mistakes of Software Testing

Though most developers know the importance of testing, it seems that a lot of them still aren’t testing enough. And if they write tests, they just test...

0 replies - 6331 views - 12/03/12 by Glenn Dejaeger in Articles

How to Test a Custom Exception Using Custom FEST Assertions

 Introduction This is part three of my posts on assertions testing using Fest, JUnit and custom Exceptions. The first post was covering the basics of...

0 replies - 1705 views - 11/26/12 by Mike Ensor in Articles

Testing Legacy Code With Golden Master

As a warm up for SCNA, the Chicago Software Craftsmanship Community ran a hands-on coding session where developers, working in pairs, should test...

0 replies - 1671 views - 11/19/12 by Sandro Mancuso in Articles

My New TestConfig Framework Now on CodePlex!

I am pleased to announce that my new Testing  and Configuration Framework (TestingConf Utilities) just published on...

0 replies - 1435 views - 10/30/12 by Mohamed Radwan in Articles

4 Reasons Why Bugs Are Good For You

Every once in a while I read something along the lines of: “most developers just want to write new features, they don’t want to work with ...

1 replies - 4865 views - 10/30/12 by Henrik Warne in Articles

Using Spock to Test Spring Classes

As the previous post mentioned, Spock is a powerful DSL built on Groovy ideal for TDD and BDD testing and this post will describe how easy it is to...

0 replies - 1629 views - 10/22/12 by Geraint Jones in Articles

Testing Java using the Spock Framework

The testing framework Spock is a powerful DSL built on Groovy which enables easily writable and extremely readable tests which lends itself well...

0 replies - 4368 views - 10/21/12 by Geraint Jones in Articles

What's up with the JUnit and Hamcrest Dependencies?

It's awesome that JUnit is recognizing the usefulness of Hamcrest, because I use these two a lot. However, I find JUnit packaging of their ...

3 replies - 3703 views - 10/16/12 by Zemian Deng in Articles

Book Review: How Google Tests Software

When I found out about the book ”How Google Tests Software“, it didn’t take long until I had ordered a copy. I find it quite fascinating to read...

0 replies - 4435 views - 10/16/12 by Henrik Warne in Articles