Git Product home page Git Product logo

Comments (13)

johnSchnake avatar johnSchnake commented on September 24, 2024 1

from e2e-framework.

johnSchnake avatar johnSchnake commented on September 24, 2024 1

I think the parallel issue doesn't bother the counts much; it makes it a bit unpredictable which will finish when, but otherwise if you keep incrementing the counts AfterEachFeature or AfterEachTest you'd be fine.

from e2e-framework.

harshanarayana avatar harshanarayana commented on September 24, 2024 1

Sorry, been a bit behind on this PR. Will have this ready for review by EOW.

from e2e-framework.

johnSchnake avatar johnSchnake commented on September 24, 2024

I'll take a stab at this once my other PRs merge which will make pre/post hooks easier as well as some writing the test for it.

from e2e-framework.

k8s-triage-robot avatar k8s-triage-robot commented on September 24, 2024

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

from e2e-framework.

harshanarayana avatar harshanarayana commented on September 24, 2024

@johnSchnake Are you still looking into this or I am free to take this up ?

from e2e-framework.

johnSchnake avatar johnSchnake commented on September 24, 2024

As a side note for this, my hope would be that this work would also enable the total number of tests to be run to be determined before any run.

This is important when sending progress updates so you can say things like: 3/99 tests completed. Otherwise you have no knowledge of how many tests will end up being targeted.

Ginkgo makes this available in a suiteWillBegin hook; hopefully we can get that same data available in one of our hooks.

from e2e-framework.

harshanarayana avatar harshanarayana commented on September 24, 2024

@johnSchnake Sounds good. Let me put up a draft PR with the changes so that you and @vladimirvivien can confirm if it is on the right path. Thanks

// H

from e2e-framework.

harshanarayana avatar harshanarayana commented on September 24, 2024

@johnSchnake / @vladimirvivien Do we want to consider each assessment as a test and provide a current/totalCount output or the same output for Testxxxx of testing.T instead ?

We should be able to extract the total number of tests in testing.M using a simple hack and pass that around in the context.

e.ctx = context.WithValue(e.ctx, "totalTests", reflect.ValueOf(m).Elem().FieldByName("tests").Len())

Let me try to identify an easy way to do the same for current test being executed.

from e2e-framework.

johnSchnake avatar johnSchnake commented on September 24, 2024

So I think this is one possible complication because different people may consider different things 'tests'.

Some people may see each TestFoo as a test, but each of those can include multiple features. Each feature may have multiple steps.

Ideally we could surface each of these but that definitely makes it harder. But now we do have the ability to filter tests based on test name and feature tag, so I think we have to surface those.

So I think it would be best to have something like:

TestsToBeRun: 8
FeaturesToBeRun: 11
AssessmentsToBeRun: 30

from e2e-framework.

harshanarayana avatar harshanarayana commented on September 24, 2024

@johnSchnake All right. I do like that idea. Let me get that changes sorted.

The other complication comes like you mentioned in #101 with TestInParallel when it comes to tracking the completed tests/features/assessments. Do we have a preference on how we want to track the number of completed items for corresponding bucket ?

from e2e-framework.

k8s-triage-robot avatar k8s-triage-robot commented on September 24, 2024

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

from e2e-framework.

vladimirvivien avatar vladimirvivien commented on September 24, 2024

/remove-lifecycle rotten

from e2e-framework.

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.