Ivymaster
c27791f80d
Add mods for failing tests due to the latest master merge
2026-10-16 09:50:18 +02:00
Ivymaster
530e299007
Merge branch 'feature-68298/Tempus_Grundstruktur' into test-83711/Tempus_Automatisierte_Tests
2026-10-15 17:20:32 +02:00
Ivymaster
054d515821
WIP
2026-10-15 17:19:48 +02:00
ma0048
855ec94445
Merge branch 'master' into feature-68298/Tempus_Grundstruktur
...
# Conflicts:
# public/css/Cis4/CoreCalendarEvents.css
# public/js/components/Calendar/Base.js
# public/js/components/Calendar/Base/Grid.js
# public/js/components/Calendar/Base/Header.js
# public/js/components/Calendar/Base/Header/Datepicker.js
# public/js/components/Calendar/Mode/Week.js
# system/phrasesupdate.php
# system/seeders/015_kalender.sql
# tests/cypress/.env.example
2026-10-15 15:07:52 +02:00
Ivymaster
9331a9a074
Add test replacement for publication of events
2026-10-15 09:59:34 +02:00
Ivymaster
758a664170
Streamlined old tempus tests with new version of the app
2026-10-14 15:14:24 +02:00
Ivymaster
b1fb9624ee
WIP
2026-10-14 09:50:54 +02:00
Ivymaster
edc805a7c2
WIP
2026-10-12 10:25:30 +02:00
Ivymaster
61d7268f90
Conflicts resolved
2026-09-01 11:52:25 +02:00
ma0048
51886960bb
Merge branch 'master' into feature-68298/Tempus_Grundstruktur
...
# Conflicts:
# application/controllers/api/frontend/v1/lv/StgTree.php
# public/js/components/Stv/Studentenverwaltung/Verband.js
# system/dbupdate_3.4.php
# tests/cypress/.gitignore
2026-08-31 12:49:28 +02:00
Harald Bamberger
cabda4cc35
Merge branch 'feature-60873/GesamtnoteneingabeCis4' into cis40_2026-05_ma_rc
2026-08-20 08:13:30 +02:00
Johann Hoffmann
97be497fda
refactored the core pruefungslogic to revolve around PruefungsverlaufLib.php instead of tbl_pruefungstyp which was highly inflexible for any adjustments. could be reused in Stv/Pruefungen aswell since there invalid inserts are very much possible; typen are still being used but are irrelevant for sequencing the attempts correctly; incorporated kommissionelle Pruefung into Gesamtnoteneingabe as the last possible antritt a student makes; updated cypress suites accordingly and added some ui tests aswell; documented usage in a readme_benotungstool.txt for the suite;
2026-08-11 17:35:06 +02:00
Johann Hoffmann
c9c92f82d3
WIP refactor
2026-08-06 10:33:46 +02:00
Johann Hoffmann
193dd166c3
finalizing current state of benotungstool api testsuite before touching implementation again; access suite and pruefungstermin suite have a few known failing tests, rest should run fine on a freshly resetted database! reset with 'php system/setup_testinstance.php --setup' for wrapped db setup routine;
2026-08-04 14:05:17 +02:00
Johann Hoffmann
431e0bb341
extended noten testsuite to cover more cases; added seedPruefung task to achieve difficult/impossible states for noten Api alone like kommPruef inserts or some entschuldigt/termin2 setups; WIP getting to test lkt_ueberschreibbar on zeugnisnote (needs updated seeders); WIP testing some logic/rules that only live in js frontend;
2026-07-31 13:32:47 +02:00
Johann Hoffmann
beb54c1bc5
Add Cypress API test suite for the Gesamtnoteneingabe. Tests the grade-entry rules against /api/frontend/v1/Noten, where they are enforced
...
server-side.
Generic and reusable by the next suite: setup_testinstance.php (--setup/--verify,
delegating the rebuild to paolos db_setup.sh), tasks/db.js, tasks/sshTunnel.js,
tools/dbCheck.js and cypress.config.js carry no suite-specific knowledge. A suite
adds tools/checks/<name>.js, suites/<name>.js and its own task file.
Fixture state resets over a direct Postgres connection through an SSH tunnel the
runner opens itself.
Tests: 37 passing, 5 pending, 1 failing. Pending are opt-in (Freigabe sends
real mail; the Frist config is off). The failing spec is left red on purpose: it
documents that getLvGesamtNoten filters freigabedatum < NOW(), so the read path
hides un-freigegebene notes while the write path uses the unfiltered getter. Not really certain if that is a feature or a bug;
Working on more actual testsuites now that the setup is running as intended;
2026-07-30 17:18:51 +02:00
Ivymaster
4a9f41160f
Add smoke test for calendar event tag assignment
2026-07-24 09:16:40 +02:00
Ivymaster
a30affba3a
add tempus cypress tests
2026-07-17 09:10:08 +02:00
Ivymaster
86c06e4756
BUG: issue fix for dropdown reposition errror
2026-07-10 11:50:07 +02:00
Ivymaster
c47ac926d2
WIP
2026-06-25 15:23:41 +02:00
Paolo
7aaeccdd42
Excluded application/phrases/ from been checked for line length with PHPCS
2022-03-07 12:34:11 +01:00
Paolo
9f28db36b8
- Added new sniffs for codesniffer to be compliant with the FHComplete coding style
...
- Commented tests/codesniffer/FHComplete/ruleset.xml
- Removed redundant PHPCS checks already performed by PHPMD
- Added/removed checks from PHPCS to be compliant with the FHComplete coding style
- PHPMD: Removed the ElseExpression rule from the rulesets/cleancode.xml
2022-03-04 19:59:57 +01:00
Paolo
282972f441
Added new PHPMD ruleset rulesets-dev-only.xml
2022-02-15 12:28:33 +01:00
Paolo
598575a194
Added excludes to PHPMD and PHPCS rule sets
2022-02-11 11:01:44 +01:00
Paolo
6066da470e
- Added excluded directories to PHPMD and PHPCS rule sets
...
- Added testing file for Lint
2022-02-10 15:00:00 +01:00
Paolo
d9aa24cced
- Removed phpci.yml file
...
- Removed tests/codeception/ directory
- Changed tests/codesniffer/FHComplete/ruleset.xml
- Removed tests/codesniffer/FHComplete/Sniffs
- Removed tests/codesniffer/FHComplete/tests
- Added tests/phpmd/rulesets.xml
2022-02-10 11:42:39 +01:00
Paolo
6b17dbca52
- Removed tests/codeception/_data/dump.sql
...
- Changed phpci.yml to make php_parallel_lint a blocking test
- Changed phpci.yml to configure the rules used by php mess detector
- Changed phpci.yml added allowed_warnings: -1 to php_code_sniffer
2019-06-05 11:19:05 +02:00
Andreas Österreicher
1e4fc86be5
Fixed Broken Unit Tests
2018-02-16 11:43:59 +01:00
Andreas Österreicher
78df57044e
Resturlaubstage, Mehrarbeitsstunden und Urlaubsanspruch pro Jahr
...
entfernt. Diese können bei Mitarbeitern jetzt nicht mehr verwaltet
werden
2018-01-18 09:01:49 +01:00
Paolo
d8cd786079
- application/core/* -> CS compliant
...
- application/libraries/* -> CS compliant
- FHC_Model isEntitled method now return error() or success()
- Updated all code that uses isEntitled method from FHC_Model
- Removed Squiz.PHP.DisallowSizeFunctionsInLoops from CS ruleset
- Removed depracated method replace from DB_Model
- Removed unused method pgArrayPhp from DB_Model
- Renamed method arrayMergeIndex to _arrayCombine in DB_Model and set as private
- Added method _manageUDFs to DB_Model (a wrapper for UDFLib->manageUDFs)
2017-08-22 16:24:51 +02:00
Paolo
1afe6c00a1
Removed check of size functions in loop statements in CS
2017-08-22 10:32:11 +02:00
Paolo
17acfa3945
Codesniffer FHComplete rules: underscores before protected and private methods are not checked anymore
2017-08-21 12:22:56 +02:00
Paolo
0317c5314a
Removed ruleset.xml from tests directory
2017-08-21 12:11:54 +02:00
Andreas Oesterreicher
42960ffe20
Moodle-Integration aus FHComplete Core entfernt und in eigenes Addon
...
ausgelagert.
Support für Moodle 1.9 entfernt
2017-08-02 14:05:31 +02:00
Andreas Oesterreicher
4c95ee4d58
Fixed Codesniffer test files according to FHComplete Style
2017-07-02 18:37:55 +02:00
bison-paolo
9723ee54d2
phpci
2016-11-29 17:54:22 +01:00
bison-paolo
4cc21c715a
phpci
2016-11-29 17:44:29 +01:00
bison-paolo
7398645038
phpci
2016-11-29 17:39:25 +01:00
bison-paolo
65888879d1
phpci
2016-11-29 17:31:51 +01:00
bison-paolo
f7d1d96875
phpci
2016-11-29 16:39:51 +01:00
bison-paolo
a9ceaf3c56
phpci
2016-11-29 16:28:26 +01:00
bison-paolo
2c1d29e0ba
phpci
2016-11-29 14:57:50 +01:00
bison-paolo
c33871ec2d
phpC(d)I
2016-11-23 15:25:07 +01:00
bison-paolo
d96a0e98d5
- Fixed codeception test
...
- Updated the api test suite
- Added the script generate.php to automatically generate the test cases
for the controllers
2016-11-23 15:09:10 +01:00
oesi
68a696cdc8
Merge branch 'master' into ci
...
Conflicts:
cis/testtool/admin/add_gebiet.php
cis/testtool/admin/edit_gebiet.php
cis/testtool/admin/index.php
config/global.config-default.inc.php
content/student/studentDBDML.php
content/student/studentdetailoverlay.xul.php
include/ablauf.class.php
include/frage.class.php
include/organisationseinheit.class.php
include/studiengang.class.php
include/vorschlag.class.php
phpci.yml
rdf/student.rdf.php
system/dbupdate_3.2.php
tests/codeception/_support/AcceptanceTester.php
tests/codeception/_support/BasisKlasseTest.php
tests/codeception/_support/FunctionalTester.php
tests/codeception/_support/UnitTester.php
tests/codeception/_support/_generated/AcceptanceTesterActions.php
tests/codeception/acceptance/AcceptanceTester.php
tests/codeception/acceptance/CISLoginPageCept.php
tests/codeception/acceptance/_bootstrap.php
tests/codeception/codeception.dist.yml
tests/codeception/functional/FunctionalTester.php
tests/codeception/functional/_bootstrap.php
tests/codeception/tests/acceptance.suite.dist.yml
tests/codeception/tests/acceptance/CISLoginPage.php
tests/codeception/tests/acceptance/CISLoginPageCept.php
tests/codeception/tests/api/_bootstrap.php
tests/codeception/tests/functional/FunctionalTester.php
tests/codeception/tests/functional/_bootstrap.php
tests/codeception/tests/unit/BasisKlasseTest.php
tests/codeception/tests/unit/UnitTester.php
tests/codeception/unit/BasisKlasseTest.php
tests/codeception/unit/UnitTester.php
2016-11-22 13:58:29 +01:00
bison-paolo
2a0cd525dd
- Updated codeception test cases
...
- Fixed controllers
- Removed unused controller Thread
2016-11-15 17:00:01 +01:00
bison-paolo
bc8ecf5569
Wrong api.suite.dist.yml
2016-10-20 16:47:51 +02:00
bison-paolo
5087826891
- phpC(d)I
...
- Renamed method chkRights to _isEntitled in model DB_Model
- Updated models where it was needed
2016-10-20 16:37:52 +02:00
kindlm
70fd4a4dea
phpC(d)I
2016-09-30 16:32:57 +02:00
bison-paolo
7346fcf7ec
Permissions for test user
2016-09-30 11:52:19 +02:00