Kwebble : Blog

Label: junit

  • Testing your RESTful Web-Services with REST-assured and Jersey-Test-Framework

    Gepubliceerd op 6 september 2011 in Links, Programming.

    A tutorial about testing REST-ful services. Tests for both tools can be written in JUnit, which means these tests can be part of your normal automated unit tests.

    1. REST-assured, a framework that offers a DSL-like syntax to create well readable tests.
    2. Jersey-Test-Framework which offers a execution environment and is built upon the JAX-RS reference implementation, Jersey.

    In the tutorial you will create a simple SOAP service and then implement integration tests for this service using both frameworks.

    • java
    • jersey
    • junit
    • rest
    • unit testing
  • MoreUnit

    Gepubliceerd op 29 juni 2011 in Programming.

    In Eclipse I missed a way to see the relation between a test class and the class under test. Well, the MoreUnit plugin relates the two and offers tools to help you switch between code of the test and the tested class. From the site:

    • MoreUnit decorates classes which have a test case.
    • It marks methods in the editor which are under test.
    • You can jump to a test case/test method in the editor via the menu or a shortcut (Ctrl-J by default).
    • You can run a test case/test method from the class under test via the menu or a shortcut (Ctrl-R by default).
    • Rename classes/methods and MoreUnit will rename the corresponding test code too.
    • Move classes and MoreUnit will move the corresponding test cases.
    • You can generate a test method stub for the method under the cursor in the editor via the menu or a shortcut.

    All useful features to help writing and managing the unit tests of your Java classes. You do write unit tests, do you?

    • eclipse
    • java
    • junit
    • tdd
    • testng
    • unit test
  • Rubrieken

    • Artikelen
    • Foto's
    • Links
    • Media
    • Overheid
    • Programming
  • Recente Berichten

    • Stanford Web Applications course lectures
    • The importance of knowing Unicode
    • “If you are not paying for it, you’re not the customer; you’re the product being sold.”
    • Inzage in je gegevens bij Facebook
    • Tuning Oracle UCM 11 & Site Studio performance
  • Abonneren

    • Atom feed Artikelen
    • Atom feed Reacties
  • Archief

© Rob Schlüter - Contact