Follow @RoyOsherove on Twitter

Using Explicit Arrange,Act,Assert scopes in tests – thoughts?

What are your thoughts on this style of writing?

  • Specifically the “Explicit” way of defining arrange, act and assert scopes.
  • also, given the name of the test, where should the call to “OnApplyTemplate” be (if you’ve never seen the code)?
  • which version makes more sense to you? A, or B?

 

version A:

 

image

 

version B:

image

web related graphics and animation generators online

Upcoming SilverUnit Preview