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 about 1 month ago. Updated about 1 month 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 (4 open0 closed)

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

Related issues 2 (2 open0 closed)

Related to Rudder - Bug #24992: API tests could fail because yaml files execute concurrentlyPending releaseFrançois ARMANDActions
Related to Rudder - Bug #25017: TraitTestApiFromYamlFiles must allow to customize liftRulesPending releaseClark ANDRIANASOLOActions
Actions #1

Updated by François ARMAND about 1 month ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #2

Updated by François ARMAND about 1 month 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
Actions #3

Updated by Anonymous about 1 month ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Clark ANDRIANASOLO about 1 month ago

  • Subtask #24991 added
Actions #5

Updated by Clark ANDRIANASOLO about 1 month ago

  • Related to Bug #24992: API tests could fail because yaml files execute concurrently added
Actions #6

Updated by François ARMAND 29 days ago

  • Related to Bug #25017: TraitTestApiFromYamlFiles must allow to customize liftRules added
Actions

Also available in: Atom PDF