From e23b6d5172f46a174f1a6502a5deba95297d3fa0 Mon Sep 17 00:00:00 2001
From: "dr. mia von steinkirch, phd"
<1130416+mvonsteinkirch@users.noreply.github.com>
Date: Fri, 17 Feb 2023 18:04:34 -0800
Subject: [PATCH] Update unit-testing.md
---
tests/unit-testing.md | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/tests/unit-testing.md b/tests/unit-testing.md
index 0654340..66b1ac8 100644
--- a/tests/unit-testing.md
+++ b/tests/unit-testing.md
@@ -1,8 +1,13 @@
-## basic Unit testing
+## basic solidity unity test
-Functions in a test file to make testing more structural:
+### functions
+
+
+
+
+functions in a test file to make testing more structural:
* `beforeEach()` - Runs before each test
* `beforeAll()` - Runs before all tests
@@ -11,7 +16,7 @@ Functions in a test file to make testing more structural:
-A generic unit testing file looks like:
+a generic unit testing file looks like:
```
@@ -58,6 +63,19 @@ contract testSuite {
}
```
-Note that ine can input custom values for `msg.sender` & `msg.value` of transaction using NatSpec comments.
+note that ine can input custom values for `msg.sender` & `msg.value` of transaction using NatSpec comments.
+
+
+---
+
+### resources
+
+
+
+* [Solidity-Coverage](https://github.com/sc-forks/solidity-coverage)
+* [Remix tests](https://github.com/ethereum/remix-project/tree/master/libs/remix-tests)
+* [OpenZeppelin test helpers](https://github.com/OpenZeppelin/openzeppelin-test-helpers)
+* [foundry forge tests](https://github.com/foundry-rs/foundry/tree/master/forge)
+* [etheno](https://github.com/crytic/etheno)