EconomyDeluxe: Stories

Dette er oversigten over User Stories og Acceptance Criteria i EconomyDeluxe. Se dette indlæg for en nærmere beskrivelse.

User Stories

Adding LedgerAccounts to GeneralLedger
As an accountant
I want to Add a LedgerAccount to the GeneralLedger
So that I can record FinancialEntries to it and keep track of the company’s expenses and revenue.

Deleting LedgerAccounts from GeneralLedger
As an accountant
I want to Remove unused LedgerAccounts from the GeneralLedger
So that I can keep my GeneralLedger clutter-free and correct mistakenly added LedgerAccounts.

Acceptance Criteria

Adding LedgerAccounts to GeneralLedger
Given a valid LedgerAccount
When I add it to the GeneralLedger
Then the GeneralLedger should contain the LedgerAccount
and the count of LedgerAccounts should increase by one.

Given an invalid or null LedgerAccount
When I add it to the GeneralLedger
Then an exception should be thrown.

Deleting LedgerAccounts from GeneralLedger
Given a LedgerAccount existing in the GeneralLedger
When I delete it from the GeneralLEdger
Then the GeneralLedger should no longer contain the LedgerAccount
and the count of LedgerAccounts should decrease by one.

Given a LedgerAccount
that is null or does not exist in the GeneralLedger
When I delete it from the GeneralLedger
Then an exception should be thrown.