# install.packages('pak')
::pak('mjfrigaard/shinypak')
paklibrary(shinypak)
Debugging
2024-09-04
The contents for section are under development. Thank you for your patience.
Expand the callout boxes below to review the previous testing chapters:
Test suite covers:
Getting started with 10.2 Setting up testthat tests in your app-package
An introduction to 10.3.4 BDD test functions
Make running tests during development easier by setting 10.4.1 Keyboard shortcuts
Specifications dives into:
The differences between 11.1 Application requirements, 11.1.1 User Specifications, 11.1.2 Features, and 11.1.3 Functional Requirements
The 11.3 BDD and testthat functions (
describe()
andit()
) are introducedTracking features, requirements and tests with a 11.4 Traceability Matrix
The applications in Chapter 11 (Specifications) can be accessed with the launch()
or get()
functions from the shinypak
R package:
Chapter 11 applications:
Test tools covers:
Where to store and how to use test 12.1 Test fixtures and 12.2 Test helpers
Checking test coverage during 12.2.2 Test development
Creating snapshots and 12.3.1 Reviewing _snaps/
The applications in Chapter 12 (Test tools) can be accessed with the launch()
or get()
functions from the shinypak
R package:
Chapter 12 applications:
Testing modules includes strategies for:
Testing returned values with 13.1.1 Testing return values
Passing module arguments with 13.1.3 Testing module parameters
Checking 13.2 Module test coverage and 13.2.1 Testing module outputs
The applications in Chapter 13 (Testing modules) can be accessed with the launch()
or get()
functions from the shinypak
R package:
Chapter 13 applications:
Introduction to 14.2 Setting up shinytest2
Using
shinytest2
to 14.3 Record a testExporting test values with 14.5 The test.mode option
The applications in Chapter 14 (System tests) can be accessed with the launch()
or get()
functions from the shinypak
R package:
Chapter 14 applications:
Debugging is an essential skill for any programmer, and it’s not restricted to fixing errors or broken code.