Skip to content

Commit

Permalink
Updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszDepta committed Sep 5, 2024
1 parent ed7338a commit d0fcac4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/pages/cw-multi-test/app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ tags: ["multitest", "App"]

# `App`

The `App{:rust}` struct in **`MultiTest`** represents the whole blockchain simulator. When creating
the `App{:rust}`, it simulates the startup of a real-life blockchain within tests that utilize
**`MultiTest`**.
The `App{:rust}` struct in **`MultiTest`** represents the blockchain simulator. Creating
`App{:rust}` mimics the startup of a real-life blockchain within tests that utilize **`MultiTest`**.

<br />

Expand Down Expand Up @@ -90,6 +89,6 @@ settings, as summarized in the table below:

(todo)

## Executing smart contract's message
## Executing smart contract

(todo)
9 changes: 6 additions & 3 deletions src/pages/cw-multi-test/getting-started/writing-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,15 @@ Report: file:///home/user/counter/target/coverage-report/tarpaulin-report.html
```

Additionally, Tarpaulin generates a coverage report in HTML format, that can be viewed directly in
the browser:
browser.

![coverage-0](./coverage-0.png)
<details>
<summary>📃  Code coverage report</summary>
![coverage-0](./coverage-0.png)
</details>

As expected, the current code coverage for the **counter** smart contract is 𝟎 since we haven't
written any tests yet. Follow the next chapters, to make the code coverage report shine green 🟢.
written any tests yet. Follow the next chapters, and make the code coverage report shine green 🟢.

## Writing tests for smart contracts

Expand Down

0 comments on commit d0fcac4

Please sign in to comment.