Git Product home page Git Product logo

lobster's People

Contributors

florianschanda avatar paulboege avatar phiwuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lobster's Issues

Improve visual appearance of HTML report with respect to accessibility

Feedback from users with read-green weakness is that, they cannot distinguish the background coloring of the lobster HTML report. For some red and gray look very similar, for others it is red and green.

  1. use different colors
  2. use icons additionally to indicate "error", "justified exemption" and "ok".

allow internal trees in one level

Requirement A that inside one level is decomposed into B and C, would be OK if B and C are themselves OK.

Policy example:

requirements "Requirements" {
   source: "potato.lobster";
}

implementation "Code" {
   source: "code.lobster";
   trace to: "Requirements" with internal_links;
}

activity "Test" {
   source: "test.lobster";
   trace to: "Requirements";
}

OR perhaps allow self-references:

requirements "Requirements" {
   source: "potato.lobster";
   requires: "Code" or self_reference;
   requires: "Test";
}

implementation "Code" {
   source: "code.lobster";
   trace to: "Requirements"
}

activity "Test" {
   source: "test.lobster";
   trace to: "Requirements";
}

Would allow for example:

      R1
     / \
    R2  R3
    |   |
    C2  C3

As long as all requirements are individually tested.

Side-note: We now need to worry about cycles, i.e. R1 -> R2, R2 -> R1 and should make sure that these do not count.

This check only needs to be done for levels that allow self_references.

Vanilla Example

Please create a "vanilla example" that demonstrates how to do the following:

  • extract one requirement from a TRLC file with lobster-trlc
  • extract one function from a Python file with lobster-python
  • extract one test from a Python file with lobster-python --activity
  • extract one function from a C++ file with lobster-cpp
  • extract one requirement from codebeamer with lobster-codebeamer

and put it all together in a tracing policy, and generate an HTML lobster report.

Please think about the best way to publish the vanilla example. Maybe it is a good idea to provide a zip file, so that it easy extremely easy to download it.

The goal is to train interested users quickly how to use lobster.

lobster-python duplicates tests if using unittest

If lobster-python runs over a Python project where unittest is used instead of pytest, then each test is also interpreted as a regular function.
This leads to the result that the final lobster report shows each unit test twice (as a function and as a test).

We need to check if this happens only for unittest, or also for pytest.

plugin system

Especially the lobster trace stuff should support plugins, so that you can add/install modules with a magic name and things just work.

unified entry point

One entry point with commands, e.g.

  • lobster trace cpp <stuff...>
  • lobster trace matlab <stuf...>
  • lobster report [ --html | --ci ]
    etc.

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.