Announcement Announcement Module
Collapse
No announcement yet.
DirtiesContextDetector Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DirtiesContextDetector

    Hi there,

    what do you think about a "DirtiesContextDetector"?

    What?
    What should it do? It should help the user to automatically identify potential places where the current context is dirtied.

    How?
    I'm thinking of s.th. like: In each test the injected dependency (@Resource) is "watched" if some of its setters are called.

    Why?
    If you have a huge test base and some developer dirty the context without recognizing it, it is hard to find. The "error" can happen far away from the cause. Because of the unpredictable execution order of the tests you may detected this problem much later.

    Any feedback?

    Regards, Leif
Working...
X