nasa / fpp

F Prime Prime: A modeling language for F Prime
https://fprime.jpl.nasa.gov
Apache License 2.0
41 stars 31 forks source link

fpp-to-json patterned cg functional tests #463

Closed mosa11aei closed 5 days ago

mosa11aei commented 2 weeks ago

This PR implements two changes to fpp-to-json tests:

  1. The patternedConnections analysis-based test case was added
  2. Test files were refactored such that instead of creating a single .ref.txt out of the multiple outputs of fpp-to-json, each file creates its own .ref.txt. This aims to provide more clarity into each reference output, and more granular diff checking if there are any differences between output and reference files.

Closes https://github.com/nasa/fpp/issues/467.

mosa11aei commented 5 days ago

This PR is closing. After further discussion with @bocchino and @garthwatney, the fpp-to-json test structure refactor was decided not to be implemented at the moment.

A new PR will be opened for the patterned cg test case.