Giter Club home page Giter Club logo

Comments (5)

fzipi avatar fzipi commented on August 17, 2024 1

So it is more an ignorelist maybe? We can do both.

from go-ftw.

airween avatar airween commented on August 17, 2024

I think it's important that excludelist would contains tests identifiers which could be ignored, if the test failed - not skipped the test. :)

from go-ftw.

fzipi avatar fzipi commented on August 17, 2024

After doing a first pass, I come with this. Having three additional maps for ignore, pass or fail.

An example is:

testmodify:
  ignore:
    '920400-1': 'This test result must be ignored'
    ... (this is a list)
  forcepass:
    '123456-1': 'We expect this test to pass once issue github.com/.... is resolved'
    ... (this is a list)
  forcefail:
    '200200-4': 'Force fail this test until we find a solution to bug #1234'
    ... (this is a list)

The id of the test should match with the proper test you want to modify its results, and the text should be handy for printing in the results.

This only modifies the results, but the test is still executed.

What do you think?

from go-ftw.

airween avatar airween commented on August 17, 2024

I don’t think we need that many kinds of lists - if case of ftwrunner I made only one list, but that list can modify the result as this:

if TEST == PASSED:
    if TEST in WHITELIST:
        result = PASSED_BUT_LISTED  // this is important for user, because the test can be removed from the list 
    else:
        result = PASSED  // this is the expected
else:
    if TEST in WHITELIST:
        result = FAILED_BUT_LISTED // this is the expected
    else:
        result = FAILED  // ops...

This only modifies the results, but the test is still executed.

Agree. But not sure this implies the number of lists.

from go-ftw.

fzipi avatar fzipi commented on August 17, 2024

This was implemented.

from go-ftw.

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.