Skip to content

Commit

Permalink
unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnikaLau authored Nov 1, 2023
1 parent 4f0aeba commit 2e88146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code_management/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ Testing involves checking different parts of the code to make sure the software
### Tests
The specific tests you need will depend on your project and its requirements. Here is a list of tests that are usually very useful.
#### 1. Unit Tests
Link to spack-c2sm
These tests are for testing individual components or functions of your code to ensure they work correctly in isolation.
Find an [example for unit tests](https://github.com/C2SM/spack-c2sm/blob/main/test/unit_test.py) in our spack-c2sm repository. It can be executed by running `python3` test/unit_test.py (after creating and activating the respective environment).
#### 2. Integrations Tests
Link to spack-c2sm
#### 3. System Tests
Expand Down

0 comments on commit 2e88146

Please sign in to comment.