Kanboard-Prod/tests
jnahmias 83a8415d99 Use assertEqualsWithDelta() to test time_spent
Timing, clock skew, and network conditions can cause slight skew in the generated/expected timestamps in the unit test vs. actual recorded timestamps in the database. This can cause flakiness in the tests due to sporadic failures when things don't perfectly align. To fix this, we change assertEquals() to assertEqualsWithDelta() with a small (3 second) delta to account for this potential delay.
2023-02-16 18:23:20 -08:00
..
configs Rewrite integration tests to run with Docker containers 2016-06-25 14:34:46 -04:00
configtest Kanboard now requires PHP >= 7.2 since other versions are deprecated 2020-01-14 12:02:31 -08:00
integration Rename default branch from master to main 2022-08-11 21:57:19 -07:00
units Use assertEqualsWithDelta() to test time_spent 2023-02-16 18:23:20 -08:00
.htaccess .htaccess: Add compatibility for apache 2.4 2015-10-05 22:46:30 +02:00
Dockerfile Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
integration.mysql.xml Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
integration.postgres.xml Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
integration.sqlite.xml Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
units.mssql.xml tests: configure unit tests to run on MSSQL [odbc/dblib] 2022-10-29 21:11:15 -07:00
units.mysql.xml Add automatic action to send a task by email 2015-06-20 10:48:47 -04:00
units.postgres.xml Setup GitHub Actions 2020-04-04 17:31:52 -07:00
units.sqlite.xml Add automatic action to send a task by email 2015-06-20 10:48:47 -04:00