James Cole
488a8a7e86
Fix test
2023-08-31 19:13:06 +02:00
James Cole
dd571d6221
Fix test
2023-08-31 19:02:38 +02:00
James Cole
80f21d2a4f
Fix test
2023-08-30 07:06:43 +02:00
James Cole
5513ec068e
Fix test
2023-08-30 06:53:46 +02:00
James Cole
788dae1477
fix: notifications
2023-07-17 20:33:26 +02:00
James Cole
b557805eeb
Code for new release
2023-07-15 16:02:42 +02:00
Antonio Spinelli
7af9169763
Cover the startOfPeriod method of Navigation class
2023-07-04 14:15:52 -03:00
James Cole
775504acb6
Chore: Add phpdocs
2023-07-04 13:29:19 +02:00
Antonio Spinelli
720fff4595
Fix typo, remove unused class and change the copyright author
2023-07-04 06:26:05 -03:00
Antonio Spinelli
551c1f4cda
Send code coverage to SonarCloud
2023-07-03 15:45:32 -03:00
Antonio Spinelli
7f0db0de04
Organize test suites into unit and integration
...
This is the goals of project organization composing different
combinations to run any number of tests together.
2023-07-03 13:46:30 -03:00
Antonio Spinelli
6ac3cc384b
Add Bimonthly periodicity for Support\Calendar
2023-07-03 13:46:30 -03:00
Antonio Spinelli
563879c218
Fix a bug for monthly calculation periodicity
...
This change reveals a bug in the Monthly calculation date where the
difference between more than one month was discarded. The new calendar
calculator was prepared to avoid overflow at the end of the month.
2023-07-03 13:46:29 -03:00
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