Skip to content
Unknown's avatar

The Developing Coder

Improving the World's Software…One Developer at a Time

  • Email
  • GitHub
  • LinkedIn
  • Medium
  • Quora
  • Stack Overflow
  • Twitter
  • Home
  • About

Tag: FluentAssertions

Unit Test Frameworks in C#, Part Four: Basic Assertions

You want to write a test for your code. The IsPrime function should return true when given an input of 2. There's just one problem: C# doesn't offer a keyword that says "this thing should happen". So how will you record the fact that the test should fail or not depending on some condition?

Keith Anders Test Frameworks Leave a comment August 20, 2018
Follow The Developing Coder on WordPress.com
Website Powered by WordPress.com.
  • Subscribe Subscribed
    The Developing Coder

    Have a WordPress.com account? Log in now.

  • The Developing Coder
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar