GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nvlog/docs/TESTING.md at master · Vanderhell/nvlog

Expand file tree

/

TESTING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
44 lines (30 loc) · 777 Bytes
/

TESTING.md

Copy path

File metadata and controls

44 lines (30 loc) · 777 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Testing

Test matrix

  • core linear tests
  • power-loss tests
  • flash simulator tests
  • ring tests
  • wire format tests
  • public header compile tests
  • backend integration compile tests

Model

The repository uses a host-side model to exercise:

  • append behavior
  • mount/recovery behavior
  • stale iterator behavior
  • wrap behavior
  • power-loss behavior

Failure injection

Used to simulate:

  • failed write after N operations
  • partial write
  • failed erase after N operations
  • partial erase

Sanitizers and strict builds

Strict builds are used to catch:

  • warnings
  • signedness mistakes
  • conversion mistakes
  • missing prototypes

What a passing test means

Passing tests prove the contract in the repository tree, not unbounded physical hardware behavior.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.