This commit is contained in:
parent
e5e346edc1
commit
59d5e70de7
3 changed files with 26 additions and 15 deletions
|
@ -20,7 +20,7 @@ title = "GHOSCHT"
|
||||||
# image = "img/blowfish_logo.png"
|
# image = "img/blowfish_logo.png"
|
||||||
# imageQuality = 96
|
# imageQuality = 96
|
||||||
headline = "Computer Science Student & Avid Photographer"
|
headline = "Computer Science Student & Avid Photographer"
|
||||||
bio = "Computer Science @TUM | Working Student @ IDS (Allianz Group)"
|
bio = "Computer Science Student & Avid Photographer"
|
||||||
links = [
|
links = [
|
||||||
{ forgejo = "https://git.ghoscht.com/ghoscht" },
|
{ forgejo = "https://git.ghoscht.com/ghoscht" },
|
||||||
{ mastodon = "https://tum.social/@ghoscht" },
|
{ mastodon = "https://tum.social/@ghoscht" },
|
||||||
|
|
|
@ -15,6 +15,16 @@
|
||||||
pageRef = "posts"
|
pageRef = "posts"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
|
# [[main]]
|
||||||
|
# name = "Photos"
|
||||||
|
# weight = 10
|
||||||
|
#
|
||||||
|
# [[main]]
|
||||||
|
# name = "Munich Exploration"
|
||||||
|
# parent = "Photos"
|
||||||
|
# pageRef = "photos/munich-exploration"
|
||||||
|
# weight = 20
|
||||||
|
|
||||||
#[[main]]
|
#[[main]]
|
||||||
# name = "Parent"
|
# name = "Parent"
|
||||||
# weight = 20
|
# weight = 20
|
||||||
|
@ -42,10 +52,10 @@
|
||||||
# pageRef = "categories/awesome"
|
# pageRef = "categories/awesome"
|
||||||
# weight = 20
|
# weight = 20
|
||||||
|
|
||||||
[[main]]
|
# [[main]]
|
||||||
name = "Categories"
|
# name = "Categories"
|
||||||
pageRef = "categories"
|
# pageRef = "categories"
|
||||||
weight = 20
|
# weight = 20
|
||||||
|
|
||||||
#[[main]]
|
#[[main]]
|
||||||
# name = "Tags"
|
# name = "Tags"
|
||||||
|
@ -58,10 +68,10 @@
|
||||||
# the copyright notice. Configure as per the main menu above.
|
# the copyright notice. Configure as per the main menu above.
|
||||||
|
|
||||||
|
|
||||||
# [[footer]]
|
[[footer]]
|
||||||
# name = "Tags"
|
name = "Tags"
|
||||||
# pageRef = "tags"
|
pageRef = "tags"
|
||||||
# weight = 10
|
weight = 10
|
||||||
|
|
||||||
# [[footer]]
|
# [[footer]]
|
||||||
# name = "Categories"
|
# name = "Categories"
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
+++
|
+++
|
||||||
date = '2024-12-29T13:42:30+01:00'
|
date = '2024-12-29T13:42:30+01:00'
|
||||||
draft = true
|
draft = true
|
||||||
title = 'Mocking in Rust using Dependency Injection'
|
title = 'Mocking in Rust with Dependency Injection'
|
||||||
|
summary = "Learn more about me and why I am starting this blog."
|
||||||
|
tags = ["rust", "testing"]
|
||||||
+++
|
+++
|
||||||
|
|
||||||
{{< lead >}}
|
{{< lead >}}
|
||||||
Rust is hard.
|
Rust is hard.
|
||||||
{{< /lead >}}
|
{{< /lead >}}
|
||||||
|
|
||||||
That is one of my takeways from one of my recent endeavors during the winter break.
|
That's one of my takeways from one of my recent endeavors during the winter break.
|
||||||
|
|
||||||
{{< forgejo repo="ghoscht/picoKontroller" >}}
|
{{< forgejo repo="ghoscht/picoKontroller" >}}
|
||||||
<br>
|
|
||||||
|
|
||||||
# TL;DR
|
## TL;DR
|
||||||
Rust isn't necessarily suited for pure object oriented programming.
|
Rust isn't necessarily suited for pure object oriented programming.
|
||||||
|
|
||||||
# Getting Started
|
## Getting Started
|
||||||
Use Shaku and Mockall
|
Use [Shaku](https://github.com/AzureMarker/shaku) and [Mockall](https://github.com/asomers/mockall)
|
||||||
|
|
Loading…
Reference in a new issue