atlanticwave-sdx / sdx-controller

Central Controller for AtlanticWave SDX.
https://www.atlanticwave-sdx.net
MIT License
1 stars 3 forks source link

Remove top-level tests and test data #183

Closed sajith closed 1 year ago

sajith commented 1 year ago

Issue is #182. Changes:

Also see #168.

coveralls commented 1 year ago

Coverage Status

coverage: 36.146%. remained the same when pulling 62176eb4964580ac76148d72f769e9fa30211cf7 on 182.consolidate-tests-and-topologies into 3c3fbf77201ae52ac849f906a2c8c3762ff60fc0 on main.

YufengXin commented 1 year ago

These tests are largely the same as those in PCE. The purpose originally was to let Cong to test the PCE APIs within the SDX-Controller before integrating into the controller code in confidence. So it's Cong's call @congwang09.

sajith commented 1 year ago

That makes sense as an interim measure. However if we keep the tests here, it is going to duplicate the code that's been already moved to pce (in https://github.com/atlanticwave-sdx/pce/pull/134). That is less than ideal.

If we really don't mind duplicating tests, we should still remove the static JSON files from here and use the ones from pce once https://github.com/atlanticwave-sdx/pce/pull/139 is merged. I will update this PR based on Cong's feedback.

congwang09 commented 1 year ago

I think this is fine. I'll use the tests in pce for testing. And we can avoid. inconsistency between the two repo.