<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Mock - Tag - My Notes</title><link>https://blog.emecas.net/tags/mock/</link><description>Mock - Tag - My Notes</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 14 May 2024 08:09:09 +0000</lastBuildDate><atom:link href="https://blog.emecas.net/tags/mock/" rel="self" type="application/rss+xml"/><item><title>Free Self-Guided “Testing Without Mocks” Training</title><link>https://blog.emecas.net/posts/2024-05-14-free-self-guided-testing-without-mocks-training/</link><pubDate>Tue, 14 May 2024 08:09:09 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2024-05-14-free-self-guided-testing-without-mocks-training/</guid><description><![CDATA[<p>Free Self-Guided “Testing Without Mocks” Training<br>
<a href="https://www.jamesshore.com/v2/blog/2024/free-self-guided-testing-without-mocks-training" target="_blank" rel="noopener noreffer ">https://www.jamesshore.com/v2/blog/2024/free-self-guided-testing-without-mocks-training</a></p>
<p>Issue #173 in emecas/commitit, open, opened on 2024-05-14.<br>
<a href="https://github.com/emecas/commitit/issues/173" target="_blank" rel="noopener noreffer ">https://github.com/emecas/commitit/issues/173</a></p>
<hr>
<p><em>Source: issue <a href="https://github.com/emecas/commitit/issues/173" target="_blank" rel="noopener noreffer ">#173</a> in emecas/commitit, opened on 2024-05-14.</em></p>]]></description></item><item><title>mockoon/mockoon</title><link>https://blog.emecas.net/posts/2023-05-26-mockoon-mockoon/</link><pubDate>Fri, 26 May 2023 17:27:47 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2023-05-26-mockoon-mockoon/</guid><description><![CDATA[<p>mockoon/mockoon<br>
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.<br>
TypeScript repository by mockoon, created in 2017, with 8,478 stars and 484 forks. License: MIT. Starred on 2023-05-26.<br>
Homepage: <a href="https://mockoon.com" target="_blank" rel="noopener noreffer ">https://mockoon.com</a><br>
<a href="https://github.com/mockoon/mockoon" target="_blank" rel="noopener noreffer ">https://github.com/mockoon/mockoon</a></p>
<hr>
<p><em>Source: starred on GitHub on 2023-05-26: <a href="https://github.com/mockoon/mockoon" target="_blank" rel="noopener noreffer ">mockoon/mockoon</a>.</em></p>]]></description></item><item><title>pviotti/oh-site</title><link>https://blog.emecas.net/posts/2020-05-06-pviotti-oh-site/</link><pubDate>Wed, 06 May 2020 20:50:05 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-05-06-pviotti-oh-site/</guid><description><![CDATA[<p>pviotti/oh-site<br>
Mock up web site for Open Hospital<br>
CSS repository by pviotti, created in 2020, with 1 stars and 1 forks. License: CC0-1.0. Starred on 2020-05-06.<br>
Homepage: <a href="https://pviotti.github.io/oh-site/" target="_blank" rel="noopener noreffer ">https://pviotti.github.io/oh-site/</a><br>
<a href="https://github.com/pviotti/oh-site" target="_blank" rel="noopener noreffer ">https://github.com/pviotti/oh-site</a></p>
<hr>
<p><em>Source: starred on GitHub on 2020-05-06: <a href="https://github.com/pviotti/oh-site" target="_blank" rel="noopener noreffer ">pviotti/oh-site</a>.</em></p>]]></description></item><item><title>JUnit 5 vs. Spock</title><link>https://blog.emecas.net/posts/2020-03-12-junit-5-vs-spock/</link><pubDate>Thu, 12 Mar 2020 08:45:57 -0400</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2020-03-12-junit-5-vs-spock/</guid><description><![CDATA[<p>JUnit 5 vs. Spock feature showdown<br>
<a href="https://bmuschko.com/blog/junit5-vs-spock-showdown/" target="_blank" rel="noopener noreffer ">https://bmuschko.com/blog/junit5-vs-spock-showdown/</a><br>
January 1, 2018</p>
<p>For a quick reference, you can directly jump to a specific test framework feature:<br>
Test execution<br>
Fixture set up and tear down<br>
Descriptive test names<br>
Disabling tests<br>
Expecting thrown exceptions<br>
Repeating test execution<br>
Declaring test execution timeouts<br>
Conditional test execution<br>
Data-driven tests<br>
Mocking<br>
Labeling and filtering test execution<br>
Extending the test framework</p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/76d3a6ae17b0921e876b10adb93de4f8b0a1b88d" target="_blank" rel="noopener noreffer "><code>76d3a6a</code></a> in My-Notes.</em></p>]]></description></item><item><title>Creating Mock Objects for C# Unit Tests, using Moq</title><link>https://blog.emecas.net/posts/2019-02-23-creating-mock-objects-for-c-unit-tests-using-moq/</link><pubDate>Sat, 23 Feb 2019 12:28:29 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-02-23-creating-mock-objects-for-c-unit-tests-using-moq/</guid><description><![CDATA[<p>Creating Mock Objects for C# Unit Tests, using Moq<br>
<a href="https://scottlilly.com/creating-mock-objects-for-c-unit-tests-using-moq/" target="_blank" rel="noopener noreffer ">https://scottlilly.com/creating-mock-objects-for-c-unit-tests-using-moq/</a><br>
In my demonstration of the Dependency Injection design pattern, I manually created a mock object. This let me perform unit tests without needing to access a database.<br>
Here is how you can use the Moq library, to eliminate writing the code for manual mock classes.<br>
If you aren’t familiar with dependency injection, please read this article first</p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/d0b85b772384455b2bc1f660181a59fa56e782f9" target="_blank" rel="noopener noreffer "><code>d0b85b7</code></a> in My-Notes.</em></p>]]></description></item><item><title>stretchr/testify</title><link>https://blog.emecas.net/posts/2019-01-29-stretchr-testify/</link><pubDate>Tue, 29 Jan 2019 03:47:41 +0000</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-01-29-stretchr-testify/</guid><description><![CDATA[<p>stretchr/testify<br>
A toolkit with common assertions and mocks that plays nicely with the standard library<br>
Go repository by stretchr, created in 2012, with 26,250 stars and 1,874 forks. License: MIT. Starred on 2019-01-29.<br>
Homepage: <a href="https://pkg.go.dev/github.com/stretchr/testify" target="_blank" rel="noopener noreffer ">https://pkg.go.dev/github.com/stretchr/testify</a><br>
<a href="https://github.com/stretchr/testify" target="_blank" rel="noopener noreffer ">https://github.com/stretchr/testify</a></p>
<hr>
<p><em>Source: starred on GitHub on 2019-01-29: <a href="https://github.com/stretchr/testify" target="_blank" rel="noopener noreffer ">stretchr/testify</a>.</em></p>]]></description></item></channel></rss>