Project

General

Profile

Actions

Architecture #24985

open

Architecture #24814: Scala 3 migration

Migrate rest test from yaml file to zio-test

Added by François ARMAND 6 months ago. Updated 3 months ago.

Status:
Pending release
Priority:
N/A
Category:
Architecture - Test
Target version:
Effort required:
Name check:
To do
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.


Subtasks 4 (1 open3 closed)

Architecture #24991: Fix Migrate rest test from yaml file to zio-testPending releaseFrançois ARMANDActions
Architecture #25015: Plugins need to be ported, tooReleasedClark ANDRIANASOLOActions
Architecture #25020: Plugins private need to be ported to new yaml testReleasedClark ANDRIANASOLOActions
Architecture #25021: Forgot to port DSC pluginReleasedFélix DALLIDETActions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #24992: API tests could fail because yaml files execute concurrentlyReleasedFrançois ARMANDActions
Related to Rudder - Bug #25017: TraitTestApiFromYamlFiles must allow to customize liftRulesReleasedClark ANDRIANASOLOActions
Actions

Also available in: Atom PDF