Antonio Spinelli
dbb7ed3d5d
Add the Calendar Calculator
...
It encapsulates some date operations like sum. The result will be the
calculated date when calling the nextDateByInterval method, given the
date, periodicity, and skipInterval parameters.
For example, given a date of 2019-12-31, monthly periodicity, and skip
interval 0, the results will be 2020-01-31. Also, if the skip interval
is 1, the result is 2020-02-29. This is because the next date will add
another month to the current range.
2023-07-03 13:46:29 -03:00
Antonio Spinelli
4e3c2ba72c
Calculate the next date using periodicity strategies.
...
All these strategies encapsulate how the Carbon library adds the
interval to the current date.
Monthly, Quarterly, Half-Yearly, and Yearly explicitly use the
overflow control to guarantee the end of the next month or year
adequately.
2023-07-03 13:46:29 -03:00
Antonio Spinelli
8e911491f6
Add tests for Navigation
...
It is responsible for calculating and manipulating Dates in financial
organization is a very important feature, and requires significant
coverage.
The first test case is just to create an understanding of how it
works.
2023-07-03 13:46:29 -03:00
James Cole
06be3f0d46
Expand test script and fix first functional test.
2023-02-06 06:14:07 +01:00
James Cole
fd7ba9dd57
Remove unused tests
2023-02-04 17:11:19 +01:00
James Cole
5b8e01fbfb
Various PSR12 code cleanup
2022-12-29 19:43:43 +01:00
James Cole
f95a064eca
Rebuild frontend.
2021-09-16 14:32:06 +02:00
James Cole
5262c0240e
Various code cleanup.
2021-06-13 08:10:30 +02:00
James Cole
2bff7750b4
Code fixes.
2021-05-24 08:06:56 +02:00
James Cole
18a80f3519
Update code for API
2021-04-03 07:16:43 +02:00
James Cole
2c575f3ca5
Code cleanup.
2021-03-28 11:43:07 +02:00
James Cole
6401b5c9eb
Clean up readme and old code.
2021-03-28 10:37:01 +02:00
James Cole
cbf3118b8a
Fix tests
2021-03-21 08:13:19 +01:00
James Cole
657726e667
First run of all tests
2021-03-21 07:30:44 +01:00
James Cole
eb90dac89d
Transaction tests work.
2021-03-21 07:09:39 +01:00
James Cole
4c2f758f69
Tests also validate existing data.
2021-03-20 19:17:22 +01:00
James Cole
b1023cdfda
Update test routine.
2021-03-20 15:40:20 +01:00
James Cole
f15da8e4b3
Update test routine.
2021-03-20 15:39:49 +01:00
James Cole
5df6135a0e
Make sure expectations work.
2021-03-20 15:28:44 +01:00
James Cole
186cbed777
Refactor available budget test
2021-03-20 08:00:58 +01:00
James Cole
bc5aa4b4cd
Update test code.
2021-03-20 07:21:13 +01:00
James Cole
836f0ecf3f
Fix tests for account
2021-03-20 07:02:06 +01:00
James Cole
03d3ede036
Expand test code.
2021-03-19 06:12:28 +01:00
James Cole
a93da2a912
Expand some test helpers.
2021-03-16 17:20:41 +01:00
James Cole
df86c89acc
Some test scripts.
2021-03-16 14:34:11 +01:00
James Cole
690edb8fcc
Some notes in code.
2021-03-16 07:23:53 +01:00
James Cole
d5ee87ddee
Fix some edge cases in recurrences.
2021-03-15 19:51:55 +01:00
James Cole
1783f0beb1
Extra content to fix recurrences.
2021-03-15 08:51:21 +01:00
James Cole
1817160d48
Update meta data for new release.
2021-03-14 20:03:27 +01:00
James Cole
5eb1f93851
Most model tests now working.
2021-03-14 16:42:10 +01:00
James Cole
beece4dcbb
Fix tests for transaction storage.
2021-03-14 16:08:49 +01:00
James Cole
288052905e
Expand all test models.
2021-03-14 10:41:17 +01:00
James Cole
40a463d62a
Expand test cases.
2021-03-14 06:20:23 +01:00
James Cole
d82fe2ab4c
Max out the number of iterations
2021-03-14 04:55:48 +01:00
James Cole
07f62b0d5c
Fix budget limit tests
2021-03-13 20:01:42 +01:00
James Cole
25bc0b0b78
Expand test cases.
2021-03-13 19:47:19 +01:00
James Cole
1f50f65bb7
Finish budget tests.
2021-03-13 19:03:08 +01:00
James Cole
fdcd6befb6
Completed bill tests.
2021-03-13 17:16:38 +01:00
James Cole
c9f7f877c0
Expand API test to bill store.
2021-03-13 16:47:29 +01:00
James Cole
bdb298740a
Also test attachments.
2021-03-13 14:33:48 +01:00
James Cole
bd040c80b2
Fix account API tests.
2021-03-13 13:26:45 +01:00
James Cole
7118abe28d
Fix some tests for account API
2021-03-13 12:01:01 +01:00
James Cole
81f5224b11
Clean up old tests.
2021-03-12 18:31:19 +01:00
James Cole
02cd0600ea
Update some copyrights.
2021-01-29 18:50:35 +01:00
James Cole
b263120c8f
Add newlines and strict types check.
2020-12-22 05:35:06 +01:00
James Cole
413df5a005
Expand tests
2020-11-07 14:05:53 +01:00
James Cole
372c6ac667
Various issues fixed (SonarQube)
2020-10-26 19:15:57 +01:00
James Cole
a7d15ef287
Temp fix for tes
2020-10-26 06:45:24 +01:00
James Cole
4c10f2b960
Test improv
2020-10-18 08:01:22 +02:00
James Cole
acfc976f6d
New tests
2020-10-10 11:21:14 +02:00