unittests

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
unittests [2019/08/09 13:37]
meesters
— (current)
Line 1: Line 1:
-====== Unit Testing ====== 
  
-[[https://​en.wikipedia.org/​wiki/​Unit_testing|Unit testing]] is part of the development process by which portions of the source code can be tested upon adherence to quality criteria or whether they fulfill expectations. 
- 
-The following lists is //not comprehensive//,​ we only attempt to give an overview for common languages used on our system. If you think a crucial part is missing: Feel free to contact us. 
- 
-===== C++ ===== 
- 
-For C++ we provide a module ''​lib/​Catch2/<​version>'',​ which contains the [[https://​github.com/​catchorg/​Catch2/​blob/​master/​docs/​tutorial.md#​top|Catch2]] framework headers and more. To use it load the module. To see what is inside, look into the module itself: 
- 
-<code shell> 
-ls $EBROOTCATCH2 
-</​code>​ 
- 
-===== Python ===== 
- 
-Unit tests for Python are [[https://​docs.python.org/​3/​library/​unittest.html|build-in]]. 
- 
-===== R ===== 
- 
-For R a package called [[https://​testthat.r-lib.org/​|"​testthat"​]] exists. This is currently not part of the R-modules, yet can be installed via cran. 
  • unittests.1565350622.txt.gz
  • Last modified: 2019/08/09 13:37
  • by meesters