Giter Club home page Giter Club logo

richdeps-docker's Introduction

richdeps-docker

Docker image for testing rich dependencies in DNF/RPM using the Behave framework

Overview

Each test runs in it's own container making it possible to run multiple tests in parallel without interfering with each other. These tests are meant to verify that both DNF and RPM (if relevant) interpret the rich dependency semantics correctly. In overall the system is written in such a way that it is package-manager agnostic, so plugging in tests for PackageKit is just about providing correct CLI arguments.

Usage

Install:

$ git clone https://github.com/shaded-enmity/richdeps-docker/
$ cd richdeps-docker/
$ docker pull pavelo/richdeps:1.0.4

Execute test:

$ ./test-launcher.py test-1

To rebuild the Docker image you can use the following command:

$ cd richdeps-docker/
$ docker build -t pavelo/richdeps:1.0.4 .

Binaries

test-launcher.py

Launches the test-suite container (mounting, result collection ...).

launch-test

Executes the test case specified in first parameter with Behave.

Describing a test

Here's an example configuration from the first ported test:

Feature: Richdeps/Behave test-1
 TestA requires (TestB or TestC), TestA recommends TestC

Scenario: Install TestA from repository "test-1"
 Given I use the repository "test-1"
 When I "install" a package "TestA" with "dnf"
 Then package "TestA, TestC" should be "installed"
 And package "TestB" should be "absent"

Possible actions: install, remove

Possible package managers: dnf, rpm (pkcon soonish)

Possible states: installed, removed, absent

richdeps-docker's People

Contributors

shaded-enmity avatar

Watchers

 avatar

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.