Giter Club home page Giter Club logo

tests's Introduction

tests

Tests for OpenTDF

Automated checks for vulnerabilities identified during penetration testing

Place to run frontend and backend together locally. Check Backend "Quick Start and Development" for Prerequisites

  1. delete ctlptl delete cluster kind-kind and clear saved related images in docker if you've run integration tests locally from other folder
  2. run ctlptl create cluster kind --registry=ctlptl-registry
  3. cd vulnerability
  4. tilt up

If you are running locally on mac frontend 'npm run build' step may take too long. Possible solution is run this command npm run build and change frontend/Dockerfile line RUN npm run build to COPY build/ build/ so it won`t run it inside docker. Be careful not to push this changes, we won't need that to CI machines that runs on linux.

Automated Playwright tests for Abacus application run against the latest versions of frontend and backend together + API tests for OpenTDF backend services

Check Backend "Quick Start and Development" for Prerequisites

  1. delete ctlptl delete cluster kind-kind and clear saved related images in docker if you've run integration tests locally from other folder
  2. run ctlptl create cluster kind --registry=ctlptl-registry
  3. cd abacus-and-api-integration-tests
  4. tilt up

Cross-client compatibility tests (xtests)

  1. cd xtest
  2. npm ci && npm i @opentdf/client@CLIENT_VERSION
  3. pip3 install -r ./requirements.txt
  4. tilt up

To use a Github Package Manager Version

Before doing theabove, configure Github packages as the scope provider for opentdf

npm login --scope=@opentdf --registry=https://npm.pkg.github.com

tests's People

Contributors

bleggett avatar cassandrabailey293 avatar dependabot[bot] avatar dmihalcik-virtru avatar dsvystunvirtru avatar elizabethhealy avatar ivanovspvirtru avatar krokhmaliuk-virtru avatar mustyantsev avatar obidenko avatar patmantru avatar pflynn-virtru avatar sievdokymov-virtru avatar sujankota avatar virtru-cloudnative avatar ysizarie-virtru avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tests's Issues

Move xtest to v2 platform, add go sdk

We need cross sdk tests for the v2 platform.
Modify the existing xtest to use the v2 platform:

  • add the go sdk
  • modify the workflow to spin up the new platform
  • create a keycloak yaml to set up the xtest clients
  • provision attributes and subject mappings for the tests

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.