FacebookTwitterFlickrYoutuberss

Isolate from Framework Couplings

From Zentyal Linux Small Business Server
Revision as of 15:14, 12 November 2013 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ideally, unit tests must be isolated and decoupled from the rest of the system. In large frameworks like Zentyal we must make a strong effort to isolate the tests from the applications and framework.

Remember: if we had to run the tests as root or as the Zentyal user that would indicate a very tight coupling between Zentyal and the unit tests, and that is a bad thing.

Isolation issues:

  • Zentyal configuration
  • sudo command execution
  • eBox::Config file path
  • Zentyal logs
      • Zentyal exceptions (they write to logs)
  • Coding module bad practices



Template:TracNotice

Personal tools
Namespaces

Variants
Actions

Zentyal Wiki

Zentyal Doc
Navigation
Toolbox