Skip to content

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.
  • Follow Following
    • The Developing Coder
    • Already have a WordPress.com account? Log in now.
    • The Developing Coder
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar