<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>C# on Living Systems_</title>
    <link>https://livesys.se/tags/c%23/</link>
    <description>Recent content in C# on Living Systems_</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 02 Nov 2019 21:24:00 +0100</lastBuildDate>
    <atom:link href="https://livesys.se/tags/c%23/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Table-driven tests in C#</title>
      <link>https://livesys.se/posts/table-driven-tests-in-csharp/</link>
      <pubDate>Sat, 02 Nov 2019 21:24:00 +0100</pubDate>
      <guid>https://livesys.se/posts/table-driven-tests-in-csharp/</guid>
      <description>&lt;p&gt;Folks in the Go community have championed so called table-driven tests&#xA;(see e.g. &lt;a href=&#34;https://dave.cheney.net/2019/05/07/prefer-table-driven-tests&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;this post by Dave&#xA;Cheney&lt;/a&gt;&#xA;&#xA;and the &lt;a href=&#34;https://github.com/golang/go/wiki/TableDrivenTests&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Go wiki&lt;/a&gt;&#xA;)&#xA;as a way to quickly and easily writing up a bunch of complete test cases&#xA;with inputs and corresponding expected outputs, and looping over them to&#xA;execute the function being tested. In short, the idea is to suggest a&#xA;maximally short and convenient syntax to do this.&lt;/p&gt;&#xA;&lt;p&gt;For example, given that we have a function like this in mylibrary.go:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
