GitRepoRegistration tests should reset database at start of each test #12
Labels
No labels
area:build
area:git
area:intrinsics
area:prompts
area:tests
breaking-change
discussion
docs
enhancement
feature
requires-docs-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
pascal_nulah/Nulah.PowerShell#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GitRepoRegistration tests currently create a database per test then delete it once the test has run (pass or fail). If a dev is debugging via a test and stops instead of letting the test run to completion then the database will linger.
There should be an internal method on the
GitManagerthat clears a database by name, which should drop and recreate any tables used byGitManager