RalfKoban / MiKo-Analyzers

Provides analyzers that are based on the .NET Compiler Platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test names should be more precise

RalfKoban opened this issue · comments

There are tests that are named like EventIsRaised or ExceptionThrown.

Those names are unspecific because they do not mention which event is raised or which exception is thrown.
Hence they should be improved to include that important information.

Following (incomplete) list may trigger an issue for events:

  • EventRaised
  • EventIsRaised
  • IfEventIsRaised
  • WhenEventIsRaised
  • Event_Is_Raised
  • If_Event_Is_Raised
  • When_Event_Is_Raised
  • RaisedEvent,
  • RaisesEvent,
  • Raised_Event,
  • Raises_Event,
  • EventOccurred
  • EventOccured
  • OccurredEvent
  • OccuredEvent
  • EventIsFired
  • EventFired
  • FiresEvent

Following (incomplete) list may trigger an issue for exceptions:

  • ExceptionThrown
  • ThrowsException
  • exception_thrown
  • throws_exception