Where possible there are automated unit tests. These are built into the build
pipeline and can be run independently with npm run test.
However, this app needs to run in all combinations of the following:
- AMD64
- ARM64
- Debian 11 Bullseye
- Debian 12 Bookworm
- Debian 13 Trixie
- Arch
- 12+
- Not Internet Explorer
- Container
- Native
- Installing DEB over legacy
- Upgrading DEB
Where possible, the app has been designed to minimise the differences with all permuations.
- Docker builds a deb file and installs that
- Docker uses Debian 13 and Node 20
- There are no known architecture differences
Nonetheless there is a lot to cover.
Depending on the scope of change any of the following may be required. For a major release, all tests should be run. For a minor one, the scope can be reduced.
- Find scanners
- Test config overrides
- Preview
- Filters
- Any changed pipelines
- Scan
- Settings
- About and system info
- Build the image
- Run the container
- Verify find scanners and system info
- Verify install, remove
- Verify install, update
- Verify purge
- Run on Buster, Bullseye, Bookworm, RaspberryPi OS