Actions
Architecture #24985
openArchitecture #24814: Scala 3 migration
Migrate rest test from yaml file to zio-test
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Architecture - Test
Target version:
Fix check:
To do
Regression:
No
Description
AFAIK, there's no version of Specs2 that support both Scala 2 and Scala 3 and the dynamic generation of tests used in RestTestFromFile
test.
So we need to port that test toward an other framework. It's not self-evident how you do that in Junit4 (the other framework we use), so it should be done in zio-test
Note: we absolutly need a way to get an usable diff for these tests, because we are diffing big json and finding an error is horrible without diff, if possible integrated with IDEs.
Updated by François ARMAND 6 months ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND 6 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/5717
Updated by Anonymous 5 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|dbf7e0cc318d3c2de7002891f5b34afa780ebd3e.
Updated by Clark ANDRIANASOLO 5 months ago
- Related to Bug #24992: API tests could fail because yaml files execute concurrently added
Updated by François ARMAND 5 months ago
- Related to Bug #25017: TraitTestApiFromYamlFiles must allow to customize liftRules added
Updated by Alexis Mousset 4 months ago
This bug has been fixed in Rudder 8.2.0~alpha1 which was released today.
Actions