bookmarks  4

  •  

    FEST is a collection of APIs, released under the Apache 2.0 license, which mission is to simplify software testing. Modules FEST is composed of various modules, all of them can be used with TestNG or JUnit. Swing Module: * DSL-oriented API for functional Swing GUI testing * Simulation of user-generated events and reliable GUI component lookup * Easy-to-use and powerful API that simplifies creation and maintenance of Swing GUI functional tests: dialog.comboBox("domain").select("Users"); dialog.textBox("username").enterText("alex.ruiz"); dialog.button("ok").click(); dialog.optionPane().requireErrorMessage() .requireMessage("Please enter your password"); * Ability to take screenshots of failed GUI tests and embed them in a HTML test report
    16 years ago by @gresch
    (0)
     
     
  •  

    TestabilityExplorer.org records the testability scores for many open source and commercial Java libraries. The compiled bytecode for the library is analyzed and metrics are calculated for the testability of individual classes. Those classes fall into one of three categories - 'excellent', 'good' and 'needs work'. Generally speaking, injectability, mockabiliy and composition are good, and static state is bad. Figures are recursively calculated, but only inside the jar in question. The metrics are a calculation of the skill of the development team in making their classes testable. You cannot use these metrics to say that Tomcat is better than Jetty or vice versa, as the features of each are not taken into account. These metrics will also not tell you whether a particular library will be easy to use or not. It just tells you how dedicated the development team was to making testable software. As we track the changing figures overtime, we can see whether the team in question was dedicated to improvement or not.
    16 years ago by @gresch
    (0)
     
     
  •  

    Unitils is an open source library aimed at making unit testing easy and maintainable. Unitils builds further on existing libraries like DBUnit and EasyMock and integrates with JUnit and TestNG. Unitils provides general asserion utilities, support for database testing, support for testing with mock objects and offers integration with Spring and Hibernate. It has been designed to offer these services to unit tests in a very configurable and loosely coupled way. As a result, services can be added and extended very easily. Currently Unitils offers following features: * General testing utilities o Equality assertion through reflection, with different options like ignoring Java default/null values and ignoring order of collections * Database testing utilities o Automatic maintenance and constraints disabling of unit test databases + Support for Oracle, Hsqldb, MySql, DB2, Postgresql and Derby o Simplify unit test database connection setup o Simplify insertion of test data with DBUnit o Simplify Hibernate session management for unit testing o Automatically test the mapping of Hibernate mapped objects with the database o Manage transactions during unit testing * Mock object utilities o Simplify EasyMock mock object creation o Simplify mock object injection o EasyMock argument matching using reflection equality * Spring integration o ApplicationContext configuration and easy injection of spring managed beans into a unit test o Support for using a Spring-configured Hibernate SessionFactory in unit tests. The project started begin 2006 from an Ordina J-Technologies discussion group on unit testing. The result was a list of guidelines and Unitils emerged in an attempt to write code to support these guidelines. Documentation
    17 years ago by @gresch
    (0)
     
     
  •  

    For those of you who've got into it you'll know that test driven development is great. It gives you the confidence to change code safe in the knowledge that if something breaks you'll know about it. Except for those bits you don't know how to test. Until now XML has been one of them. Oh sure you can use "<stuff></stuff>".equals("<stuff></stuff>"); but is that really gonna work when some joker decides to output a <stuff/>? -- damned right it's not ;-)
    17 years ago by @gresch
    (0)
     
     
  • ⟨⟨
  • 1
  • ⟩⟩

publications  

    No matching posts.
  • ⟨⟨
  • ⟩⟩