Skip to content

Commit 80683aa

Browse files
author
davidwilby
committed
add info on testing
1 parent fa6b628 commit 80683aa

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

index.qmd

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,48 @@ Everyone makes mistakes.
480480

481481
# Testing
482482

483+
##
484+
485+
![](assets/images/post-office-scandal.png)
486+
487+
<font size="2">Credit: [Private
488+
Eye](https://www.private-eye.co.uk/pictures/special_reports/justice-lost-in-the-post.pdf)</font>
489+
490+
491+
##
492+
### Testing can be split into different scales
493+
494+
<br>
495+
496+
::: {.callout-note}
497+
498+
## Unit Testing
499+
500+
Tests the smallest possible units of code, e.g. functions or class methods.
501+
502+
:::
503+
504+
<br>
505+
506+
::: {.callout-note}
507+
508+
## Integration Testing
509+
510+
Test for errors when units function together.
511+
512+
:::
513+
514+
<br>
515+
516+
::: {.callout-note}
517+
518+
## Regression Testing
519+
520+
Tests that new functionality doesn't break existing functionality.
521+
522+
:::
523+
524+
483525
# Environment & Dependency Management
484526

485527

0 commit comments

Comments
 (0)