gentest
package v2.23.1
Go to latest Published: Jun 10, 2025 License:AGPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:0 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package gentest contains tests that are run at db generate time. These testsneed to exist in their own package to avoid importing stuff that getsgenerated after the DB.
E.g. if we put these tests in coderd/database, then we'd be importing dbmockwhich is generated after the DB and can cause type problems when buildingthe tests.
Click to show internal directories.
Click to hide internal directories.