Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test names should be more precise #788

Open
RalfKoban opened this issue Feb 10, 2024 · 0 comments
Open

Test names should be more precise #788

RalfKoban opened this issue Feb 10, 2024 · 0 comments

Comments

@RalfKoban
Copy link
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant