clio icon indicating copy to clipboard operation
clio copied to clipboard

Refactor Config Tests

Open PeterChen13579 opened this issue 11 months ago • 1 comments

Motivation

Currently Config tests data (FakeConfigData.hpp) is big and used across multiple tests. It is better to split the data into smaller configs, and to test things separately. (ie value & array)

Solution

Refactor Config Tests

PeterChen13579 avatar Feb 03 '25 15:02 PeterChen13579

A few more things to fix:

  • ConfigValueTests.cpp contains tests for constraints
  • ClioConfigDefinitionTests.cpp should be renamed to ConfigDefinitionTests.cpp

kuznetsss avatar Feb 06 '25 17:02 kuznetsss