Add unittests #11
Labels
No labels
Priority: Critical
Priority: High
Priority: Low
Priority: Medium
Status: Blocked
Status: In Progress
Status: Pending
Status: Review Needed
Status: Revision Needed
Tech: Database
Tech: Library
Tech: Security
Tech: vibe.d
Type: Bug
Type: Enhancement
Type: Maintenance
Type: Question
Type: Upstream Bug
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: fsimphy/calendar-webapp#11
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?
Summary
We should add unittests.
Description
As a developer, I want to be sure that the code is actually working as intended. Therefore we should add unittests. I suggest we use unit-threaded, because it is a major improvment over only using the builtin
unittest
blocks. Also it provides mocking functionality which we need for testing stuff that uses the database.Acceptance criteria
If possible, functions should have unittests (stuff in
calendarwebapp.calendarwebapp
can not reasonably be tested and its probably also not usefull for the thin database wrappers). We should aim for a test coverage above 70%.