Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 76 additions & 68 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,55 +4,61 @@ GEM
Ascii85 (2.0.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2)
ast (2.4.2)
async (2.23.0)
afm (1.0.0)
ast (2.4.3)
async (2.33.0)
console (~> 1.29)
fiber-annotation
io-event (~> 1.9)
io-event (~> 1.11)
metrics (~> 0.12)
traces (~> 0.15)
base64 (0.2.0)
bigdecimal (3.1.9)
traces (~> 0.18)
base64 (0.3.0)
bigdecimal (3.2.3)
colorator (1.1.0)
concurrent-ruby (1.3.5)
console (1.29.3)
console (1.34.0)
fiber-annotation
fiber-local (~> 1.1)
json
csv (3.3.2)
csv (3.3.5)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ethon (0.17.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-aarch64-linux-musl)
ffi (1.17.1-arm-linux-gnu)
ffi (1.17.1-arm-linux-musl)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86_64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
ffi (1.17.1-x86_64-linux-musl)
ffi (1.17.2-aarch64-linux-gnu)
ffi (1.17.2-aarch64-linux-musl)
ffi (1.17.2-arm-linux-gnu)
ffi (1.17.2-arm-linux-musl)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86_64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
ffi (1.17.2-x86_64-linux-musl)
fiber-annotation (0.2.0)
fiber-local (1.1.0)
fiber-storage
fiber-storage (1.0.0)
fiber-storage (1.0.1)
forwardable-extended (2.6.0)
google-protobuf (4.29.3)
google-protobuf (4.32.1)
bigdecimal
rake (>= 13)
google-protobuf (4.29.3-aarch64-linux)
google-protobuf (4.32.1-aarch64-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.29.3-arm64-darwin)
google-protobuf (4.32.1-aarch64-linux-musl)
bigdecimal
rake (>= 13)
google-protobuf (4.29.3-x86_64-darwin)
google-protobuf (4.32.1-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.29.3-x86_64-linux)
google-protobuf (4.32.1-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.32.1-x86_64-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.32.1-x86_64-linux-musl)
bigdecimal
rake (>= 13)
hashery (2.1.2)
Expand All @@ -68,7 +74,7 @@ GEM
http_parser.rb (0.8.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-event (1.9.0)
io-event (1.14.0)
jekyll (4.4.1)
addressable (~> 2.4)
base64 (~> 0.2)
Expand Down Expand Up @@ -98,7 +104,7 @@ GEM
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.10.1)
json (2.15.0)
just-the-docs (0.10.1)
jekyll (>= 3.8.5)
jekyll-include-cache
Expand All @@ -108,88 +114,90 @@ GEM
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.4)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.6)
logger (1.7.0)
mercenary (0.4.0)
metrics (0.12.1)
nokogiri (1.18.3-aarch64-linux-gnu)
metrics (0.15.0)
nokogiri (1.18.10-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.3-aarch64-linux-musl)
nokogiri (1.18.10-aarch64-linux-musl)
racc (~> 1.4)
nokogiri (1.18.3-arm-linux-gnu)
nokogiri (1.18.10-arm-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.3-arm-linux-musl)
nokogiri (1.18.10-arm-linux-musl)
racc (~> 1.4)
nokogiri (1.18.3-arm64-darwin)
nokogiri (1.18.10-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-darwin)
nokogiri (1.18.10-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-linux-gnu)
nokogiri (1.18.10-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.3-x86_64-linux-musl)
nokogiri (1.18.10-x86_64-linux-musl)
racc (~> 1.4)
parallel (1.26.3)
parser (3.3.7.1)
parallel (1.27.0)
parser (3.3.9.0)
ast (~> 2.4.1)
racc
pathutil (0.16.2)
forwardable-extended (~> 2.6)
pdf-reader (2.14.1)
pdf-reader (2.15.0)
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
afm (~> 0.2.1)
afm (>= 0.2.1, < 2)
hashery (~> 2.0)
ruby-rc4
ttfunk
public_suffix (6.0.1)
prism (1.5.1)
public_suffix (6.0.2)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
rake (13.3.0)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
regexp_parser (2.10.0)
rexml (3.4.1)
rouge (4.5.1)
rubocop (1.73.1)
regexp_parser (2.11.3)
rexml (3.4.4)
rouge (4.6.1)
rubocop (1.81.1)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.38.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.38.1)
parser (>= 3.3.1.0)
rubocop-ast (1.47.1)
parser (>= 3.3.7.2)
prism (~> 1.4)
ruby-progressbar (1.13.0)
ruby-rc4 (0.1.5)
safe_yaml (1.0.5)
sass-embedded (1.85.1-aarch64-linux-gnu)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-aarch64-linux-musl)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-arm-linux-gnueabihf)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-arm-linux-musleabihf)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-arm64-darwin)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-x86_64-darwin)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-x86_64-linux-gnu)
google-protobuf (~> 4.29)
sass-embedded (1.85.1-x86_64-linux-musl)
google-protobuf (~> 4.29)
sass-embedded (1.93.2-aarch64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-aarch64-linux-musl)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-arm-linux-gnueabihf)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-arm-linux-musleabihf)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-arm64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-x86_64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-x86_64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.93.2-x86_64-linux-musl)
google-protobuf (~> 4.31)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
traces (0.15.2)
traces (0.18.2)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
typhoeus (1.4.1)
Expand All @@ -198,7 +206,7 @@ GEM
wdm (0.2.0)
webrick (1.9.1)
yell (2.2.2)
zeitwerk (2.7.2)
zeitwerk (2.7.3)

PLATFORMS
aarch64-linux
Expand Down
8 changes: 8 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,11 @@ callouts:
title: Important
highlight:
color: blue

# Workaround for dep warnings
sass:
quiet_deps: true
silence_deprecations:
- import
- color-functions
- global-builtin
6 changes: 3 additions & 3 deletions docs/pages/principles/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ a full system check of the package. Good diagnostic tests:
of pytest. To allow running unit tests for diagnostics in production
environments, without installing additional packages.

- Test files should be named `test_{{file under test}}.py`, so that stdlib
- Test files should be named `test_<file under test>.py`, so that stdlib
unittest can find them easily.

### Mocking and Patching to Isolate the code under test
Expand Down Expand Up @@ -683,7 +683,7 @@ def test_myfunction(t, patchme: Mock):
stdlib's unittest can be used in environments where pytest is not available:

- To use unittest to run tests from an installed package (outside of your source
repository), use `python -m unittest discover -s {{module.name}}`
repository), use `python -m unittest discover -s <module.name>`
- To use unittest to run tests in your source folder, from your package root,
use
`python -m unittest discover --start-folder {{source folder}} --top-level-directory .`
`python -m unittest discover --start-folder <source folder> --top-level-directory .`