Skip to content

Commit

Permalink
📝 Merge category and intro for race condition (#3836)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed May 11, 2023
1 parent cb9bf34 commit de87e6d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
8 changes: 0 additions & 8 deletions website/docs/tutorials/detect-race-conditions/_category_.json

This file was deleted.

@@ -1,10 +1,12 @@
---
sidebar_position: 1
slug: /tutorials/detect-race-conditions/introduction/
sidebar_position: 2
slug: /tutorials/detect-race-conditions/
description: What's the plan for this tutorial?
---

# Introduction
# Detect race conditions

Learn how to detect race conditions in your code through clear and instructive examples

:::tip Already familiar with race conditions?
This tutorial teaches techniques to detect race conditions in code testing, using specific algorithms and tools related to fast-check. It includes examples designed to initially pass the tests, and each section introduces new concepts.
Expand All @@ -18,6 +20,12 @@ This tutorial aims to equip you with techniques to write tests that can detect r

Throughout this tutorial, the examples have been crafted to ensure that tests pass initially on the code being tested. Your objective will be to make the tests fail by implementing the suggested changes. Each section will introduce new concepts and provide the necessary information to apply these learnings to code beyond the scope of this tutorial. Each page will come with its own puzzle.

```mdx-code-block
import DocCardList from '@theme/DocCardList';
<DocCardList />
```

## Definition of a race condition

:::info Let's align our understanding of the concept
Expand Down
@@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 3
slug: /tutorials/detect-race-conditions/multiple-batches-of-calls/
description: Third iteration, not only one batch firing all queries but multiple batches
---
Expand Down
@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 2
slug: /tutorials/detect-race-conditions/one-step-closer-to-real-usages/
description: Second iteration, make the test closer and detect even more race conditions
---
Expand Down
@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 4
slug: /tutorials/detect-race-conditions/the-missing-part/
description: Fourth iteration, check all the points of the specification
---
Expand Down
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 5
slug: /tutorials/detect-race-conditions/wrapping-up/
description: Key learnings and summary of all our steps
---
Expand Down
@@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 1
slug: /tutorials/detect-race-conditions/your-first-race-condition-test/
description: First iteration, build your first test able to detect race conditions
---
Expand Down

0 comments on commit de87e6d

Please sign in to comment.