Giter Site home page Giter Site logo

Comments (10)

Onebitl0st avatar Onebitl0st commented on May 30, 2024 1

@unickq Checked! Thanks a lot for fix!

from allure-nunit.

unickq avatar unickq commented on May 30, 2024

Thanks, @Onebitl0st .

That's really weird. I've created a new project with the code you posted and can't reproduce it.
1 0 0

Can you provide more details? Like setup/teardowns, etc

from allure-nunit.

Onebitl0st avatar Onebitl0st commented on May 30, 2024

Well, in common there is a setup teardown in our projects, but i reproduced that in same new class as you.

Now my VS updating, and i cant do a thing for a while :D but then i take a look at your code, i have one idea - if you'll change your [TestFixture] to [TestFixture(Category = "asd")], as on my code, i dont rly know, but i changed all of them sometimes for Allure :D maybe this will provide reproducing?

from allure-nunit.

unickq avatar unickq commented on May 30, 2024

[TestFixture(Category = "asd") doesn't set tags from category all but that's a different issue :D
Still can't get the issue you raised.

NET46?

from allure-nunit.

Onebitl0st avatar Onebitl0st commented on May 30, 2024

Yeah, net461, do you run tests with category? or just as all tests?

from allure-nunit.

Onebitl0st avatar Onebitl0st commented on May 30, 2024

380d467891026c56f156530c0d6528cd

So yeah, i think it is)

from allure-nunit.

unickq avatar unickq commented on May 30, 2024

Made a quick fix for Category in testFixture - will upload it soon,

do you run tests with category? or just as all tests?
All tests, no params in console runner

Noticed that code

if (_test.Properties.ContainsKey(PropertyNames.Category))
                AllureLifecycle.UpdateTestCase(x =>
                    x.labels.Add(Label.Tag(_test.Properties.Get(PropertyNames.Category).ToString())));

for tests with attribute [TestCase] doesn't work as it's a different ITest. Maybe that's the issue

from allure-nunit.

Onebitl0st avatar Onebitl0st commented on May 30, 2024

@unickq , I think you'll reproduce this too, if you'd run with category

from allure-nunit.

unickq avatar unickq commented on May 30, 2024

I reproduced the issue - will check it when I have time :)

from allure-nunit.

unickq avatar unickq commented on May 30, 2024

@Onebitl0st
Please test https://www.nuget.org/packages/NUnit.Allure/1.0.2 and close issue if it's ready 🛩

from allure-nunit.

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.