Skip to content

Commit e9acdc6

Browse files
author
davidwilby
committed
improve layout
1 parent cc72902 commit e9acdc6

File tree

1 file changed

+41
-22
lines changed

1 file changed

+41
-22
lines changed

index.qmd

Lines changed: 41 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ Displayed most frequently.
301301

302302
Used to work on new features/changes/additions to the code.
303303

304-
<br>
305-
306304
```{mermaid}
307305
%%| fig-width: 10
308306
%%{init: { 'logLevel': 'debug', 'theme': 'base'} }%%
@@ -323,7 +321,6 @@ git commit
323321
git commit
324322
```
325323

326-
327324
::: {.callout-tip appearance="simple"}
328325

329326
**Checkout**: switching to a different branch.
@@ -363,8 +360,6 @@ git commit
363360

364361
## Demo
365362

366-
<br>
367-
368363
<https://onlywei.github.io/explain-git-with-d3>
369364

370365
or
@@ -541,47 +536,71 @@ From: [Private Eye](https://www.private-eye.co.uk/pictures/special_reports/justi
541536

542537
## Levels of testing
543538

544-
::: {.callout-note appearance="simple"}
539+
::: {.callout-note appearance="minimal"}
545540

546-
**Smoke Testing**
547-
Very brief initial checks that ensures the basic requirements required to run the project hold. If these fail there is no point proceeding to additional levels of testing until they are fixed.
541+
**Smoke Testing**:
542+
*Very* brief initial checks that ensures the basic requirements required to run the project hold. If these fail there is no point proceeding to additional levels of testing until they are fixed.
548543

549544
:::
550545

551-
::: {.callout-note appearance="simple"}
546+
. . .
547+
548+
::: {.callout-warning appearance="minimal"}
552549

553-
**Unit Testing** A level of the software testing process where individual units of a software are tested. The purpose is to validate that each unit of the software performs as designed.
550+
**Unit Testing**:
551+
*Individual units* of a codebase are tested, e.g. functions or methods. The purpose is to validate that each unit of the software performs as designed.
554552

555553
:::
556554

557-
::: {.callout-note appearance="simple"}
555+
. . .
558556

559-
**Integration Testing** A level of software testing where individual units are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units.
557+
::: {.callout-important appearance="minimal"}
558+
559+
**Integration Testing**:
560+
Individual units are combined and tested as a *group*. The purpose of this level of testing is to expose faults in the interaction between integrated units.
560561

561562
:::
562563

563-
::: {.callout-note appearance="simple"}
564+
. . .
565+
566+
::: {.callout-tip appearance="minimal"}
564567

565-
**System Testing** A level of the software testing process where a complete, integrated system is tested. The purpose of this test is to evaluate whether the system as a whole gives the correct outputs for given inputs.
568+
**System Testing**:
569+
A complete, integrated system is tested. The purpose of this test is to evaluate whether the *system as a whole* gives the correct outputs for given inputs.
566570

567571
:::
568572

569-
::: {.callout-note appearance="simple"}
573+
. . .
570574

571-
**Acceptance Testing** A level of the software testing process where a system is tested for acceptability. The purpose of this test is to evaluate the system’s compliance with the project requirements and assess whether it is acceptable for the purpose.
575+
::: {.callout-caution appearance="minimal"}
576+
577+
**Acceptance Testing**:
578+
Evaluate the system’s compliance with the project requirements and assess whether it is acceptable for the purpose.
572579

573580
:::
574581

575-
From: [The Turing Way](https://the-turing-way.netlify.app/reproducible-research/testing.html)
582+
<font size="3">From: [The Turing Way](https://the-turing-way.netlify.app/reproducible-research/testing.html)</font>
576583

577584

578585
## Test-driven development
579586

580-
::: {.incremental}
581-
1. Write a test that fails
582-
2. Write code to make the test pass
583-
3. Refactor
584-
:::
587+
<br>
588+
589+
. . .
590+
591+
(@) Write a test that fails
592+
593+
<br>
594+
595+
. . .
596+
597+
(@) Write code to make the test pass
598+
599+
<br>
600+
601+
. . .
602+
603+
(@) Refactor
585604

586605
. . .
587606

0 commit comments

Comments
 (0)