Coder Social home page Coder Social logo

Comments (2)

hug-dev avatar hug-dev commented on July 17, 2024 1

We could add an optional argument when launching Parsec to specify a configuration file path and use this one. That way we can have in-tree one configuration file per provider and test them independently 😄

And one more with all of them 😈

from parsec.

hug-dev avatar hug-dev commented on July 17, 2024 1

We would have the following test structure (in tests):

all.sh -> Executing all of the tests below + rustfmt + clippy (will work only if everything is installed)
per_provider/ -> Test executed only with a single provider
    normal/
    stress/
    fuzz/
    persistence/
    PROVIDER_NAME/ -> Folder containing the Dockerfile and config.toml file per provider
        Dockerfile
        config.toml
all_providers/ -> Tests using all providers
    Dockerfile -> Would contain all providers (not published)
    config.toml
    mod.rs
cross_compilation/ -> Testing cross compilation of Parsec
    Dockerfile
    Cross.toml

The following Dockerfile would be needed:

  1. one for the TPM provider + tss-esapi crate (there is one in parallaxsecond/rust-tss-esapi repo already)
  2. one for the PKCS 11 provider
  3. one for the Mbed Crypto provider + crate (cf #62)
  4. one combining 1, 2 and 3 for the all_providers tests
  5. one for cross-compilation, that already exists

Exactly the same tests (except cross_compilation) could be done on an Arm platform, on the CI, check #55 to also have coverage for Arm.

from parsec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.