• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Q 4 Mr. Ford (8): frameworks & (unit) test suites

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Mr.Ford,
Coming back to one of my previous questions regarding
frameworks and multiple projects.
How would you tackle the implementation of a 'unit test
suite' that would be appropriate project wide, bearing
in mind that there are different frameworks in the picture.
Can this be solved elegantly in a single fashion, or is it
better to implement a unit test for each framework used?
Thank you as well for all your previous answers to my queries:
this week has been a good learning experience.
Best regards,
Gian Franco Casula
[ February 13, 2004: Message edited by: Gian Franco Casula ]
[ February 13, 2004: Message edited by: Gian Franco Casula ]
[ February 13, 2004: Message edited by: Gian Franco Casula ]
 
Author
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Gian Franco Casula:
Dear Mr.Ford,
How would you tackle the implementation of a 'unit test
suite' that would be appropriate project wide, bearing
in mind that there are different frameworks in the picture.
Can this be solved elegantly in a single fashion, or is it
better to implement a unit test for each framework used?


If you are careful to create your models (both boundaries and entites) as framework-agnostic, then a single suite of unit tests can cover all of them. Yet another benefit of clean separation of responsibilities!
For the framework specific pieces (workflow, UI), you will have to create a specific suite of tests.
 
My, my, aren't you a big fella. Here, have a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic