Menu

Refining JO

Developers
deje
2006-07-22
2013-04-19
  • deje

    deje - 2006-07-22

    Just had some ideas to improve JO following the normal clamor one hears from all the other unit testing frameworks (TestNG and junit4 especially):

    - Make tests NOT have to extend ObjectTestCase (simplifies things)
    - Let JO metaphors be run from junit (might get messy, but would be helpful to use junit's asserts, especially with JO mocks)
    - Use a proper schema (XSD) for objects.xml files
    - Change the direct use of <methodName> in tags (as this cant be validated against a schema)
    - Make JO more focused on design patterns and mocks

    Feel free to post your thoughts.

     
    • uptown

      uptown - 2006-08-22

      MOCK OBJECTS ADD

      State-chain init would be the
      ideal place for injecting mock objects, ideally it should be injected before and across a
      single test unit. Which would be a metaphor (or with more granularity, a state-chain).

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.