diff --git a/docs/guides/smart-contracts/codecov-in-pr.png b/docs/guides/smart-contracts/codecov-in-pr.png
new file mode 100644
index 0000000000..be2ad069e1
Binary files /dev/null and b/docs/guides/smart-contracts/codecov-in-pr.png differ
diff --git a/docs/guides/smart-contracts/codecov-insights.png b/docs/guides/smart-contracts/codecov-insights.png
new file mode 100644
index 0000000000..71e8665ed5
Binary files /dev/null and b/docs/guides/smart-contracts/codecov-insights.png differ
diff --git a/docs/guides/smart-contracts/hybrid-custody-ci.png b/docs/guides/smart-contracts/hybrid-custody-ci.png
new file mode 100644
index 0000000000..2d36c99978
Binary files /dev/null and b/docs/guides/smart-contracts/hybrid-custody-ci.png differ
diff --git a/docs/guides/smart-contracts/testing.mdx b/docs/guides/smart-contracts/testing.mdx
index 8e05384d72..e812491841 100644
--- a/docs/guides/smart-contracts/testing.mdx
+++ b/docs/guides/smart-contracts/testing.mdx
@@ -7,10 +7,12 @@ sidebar_custom_props:
icon: 📝
---
+Testing is an essential part of the development workflow and code coverage is an important metric that can help developers view what percentage of all the possible code paths have been exercised during testing.
Good test coverage is vital for assuring code quality.
Leverage [Flow emulator](../../tools/emulator/index.md) to automate test runs. Test on Flow testnet. Include unit tests; to exercise each feature, and integration tests; to exercise the behavior of different parts of the project as a whole.
+The emulator can also provide [code coverage](https://github.com/m-Peter/flow-code-coverage#for-emulator) insights.
Human-driven tests, in which individual testers work manually through user stories via the project's user interface or custom transactions, can also be performed locally. Tests with groups of testers can be performed similarly on testnet in a similar manner.
@@ -30,9 +32,31 @@ You should aim to replicate all conditions as closely as possible to the usage p
## Writing Tests
-There are official SDKs for Flow in both Go and JavaScript.
+There are official SDKs/frameworks for Flow in Cadence, Go and JavaScript.
-In both cases, the code will need to deploy the contracts, configure accounts to interact with them and send transactions to them. It will then have to wait for the transactions to be sealed and check the results by catching exceptions, checking for events, and querying state using scripts.
+In all three cases, the test code will need to deploy the contracts, configure accounts to interact with them and send transactions to them. It will then have to wait for the transactions to be sealed and check the results by catching exceptions, checking for events, and querying state using scripts.
+
+### Cadence tests
+
+Cadence comes with built-in support for code coverage, as well as a native testing framework which allows developers to write their tests using Cadence.
+This framework is bundled with the [Flow CLI](../../tools/flow-cli/index.md) tool, which includes a dedicated command for running tests (`flow test`).
+
+You can find examples of Cadence tests in the following projects: [hybrid-custody](https://github.com/onflow/hybrid-custody/tree/main/test), [flow-nft](https://github.com/onflow/flow-nft/tree/master/tests), [flow-ft](https://github.com/onflow/flow-ft/tree/master/tests).
+Visit the [documentation](../../cadence/testing-framework.mdx) to view all the available features.
+
+The [Hybrid Custody](https://github.com/onflow/hybrid-custody#readme) project is a prime example which utilizes both the Cadence testing framework and code coverage in its CI.
+
+
+
+There is also a [repository](https://github.com/m-Peter/flow-code-coverage#readme) which contains some sample contracts and their tests.
+
+
+
+
+
+
+The Cadence testing framework utilizes the emulator under the hood.
+
### Go Tests