cFS icon indicating copy to clipboard operation
cFS copied to clipboard

Create directory structure for pushing CTF scripts

Open dmknutsen opened this issue 5 years ago • 6 comments

Is your feature request related to a problem? Please describe. Need to create a location to push CTF scripts and plugins to.

Requester Info Dan Knutsen NASA Goddard

dmknutsen avatar May 15 '20 15:05 dmknutsen

We will need to include all the cFE related elements for open source verification so how about a structure like:

  • cfe
    • verification_tests
      • ctf
      • json

skliper avatar May 16 '20 21:05 skliper

Reviving this since we probably want to incorporate cTF tests into Draco

@tngo67 you all are using a directory named ctf_tests in apps right? What do you think of the structure suggested above?

astrogeco avatar May 03 '22 14:05 astrogeco

@astrogeco I like it, but with a minor name change: from "json" to "ccdd" since both ctf & ccdd files are in json format

Our current directory is /fsw/ctf_test, but we can change that to be more consistent across all common apps.

tngo67 avatar May 03 '22 21:05 tngo67

I wonder if there are more generic names for these, since linking directly to the tool may be over-constrictive. Really it's the database dfn and requirements verification tests, no? If the json comes from CCDD or any other tool shouldn't really matter, similar to the json scripts that implement the tests it doesn't need to only be ctf but could be any tool that can ingest the json files. I also wouldn't have the database under verification tests... they both make more sense to me at the top level.

maybe just cfe |_ database |_ reqval

or whatever names make sense

skliper avatar May 04 '22 13:05 skliper

That said, we've also got the eds descriptions in cfe/modules/core_api/eds... maybe instead of having multiple "database" files, we just provide the recipe for conversion? The problem I see is when we have multiple "truths" they invariably end up conflicting. Better to pick one truth and generate the other products from that truth.

skliper avatar May 04 '22 13:05 skliper

I'm thinking, "ctf" because the tests are implemented in ctf-specific json schema. They won't work with other testing tool/framework as-is. "ccdd" for Command & Data Dictionary (not the ccdd tool, we could remove a 'c' in the name) also in the ctf-specific json schema. We do plan to develop CTF tools/scripts to do the conversion from the GW xtce, so we can plan to do the same for cFS EDS.

I would also add a plug-ins sub-dir.

tngo67 avatar May 04 '22 16:05 tngo67