Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<groups> at <suite> level not applied to <suite-files> #689

Closed
kunal546 opened this issue May 14, 2015 · 5 comments
Closed

<groups> at <suite> level not applied to <suite-files> #689

kunal546 opened this issue May 14, 2015 · 5 comments

Comments

@kunal546
Copy link

I want to be able to apply group filtering to multiple suite files.

Use Case - Let's say, I have multiple test suites defining all the tests. I want to run a subset of those on our dev environment and a subset on test environment. (I may want to do this for more environments in future). I am trying to achieve this by creating a suite file for every environment and invoking the one depending on the execution environment.

E.g. file dev-env-suite.xml -

<suite name="Dev environment">
    <groups>
        <run>
            <include name="dev" />
        </run>
    </groups>
    <suite-files>
        <suite-file path="suiteA.xml"></suite-file>
        <suite-file path="suiteB.xml"></suite-file>
    </suite-files>
</suite>

But the filtering does not seem to get applied to tests within the . Is this by design and intentional?

@juherr
Copy link
Member

juherr commented Aug 14, 2015

Duplicate of #589

@JustAlexOne
Copy link

Is there an update for this issue? We do also have the problem with this, and would be very happy it worked.

@cbeust
Copy link
Collaborator

cbeust commented Dec 28, 2015

@juherr Any thoughts on this?

@juherr
Copy link
Member

juherr commented Dec 28, 2015

@cbeust No, I didn't have a look yet.

@JustAlexOne
Copy link

Oh, thank you for your reply! Hope you'll implement this feature soon!

On Mon, Dec 28, 2015 at 6:40 PM, Julien Herr notifications@github.com
wrote:

@cbeust https://github.com/cbeust No, I didn't have a look yet.


Reply to this email directly or view it on GitHub
#689 (comment).

@juherr juherr added the xml label Dec 30, 2015
juherr added a commit to juherr/testng that referenced this issue Dec 31, 2015
juherr added a commit to juherr/testng that referenced this issue Dec 31, 2015
juherr added a commit to juherr/testng that referenced this issue Dec 31, 2015
juherr added a commit to juherr/testng that referenced this issue Dec 31, 2015
juherr added a commit to juherr/testng that referenced this issue Jul 14, 2016
juherr added a commit to juherr/testng that referenced this issue Jul 14, 2016
juherr added a commit to juherr/testng that referenced this issue Jul 17, 2016
juherr added a commit to juherr/testng that referenced this issue Jul 17, 2016
juherr added a commit to juherr/testng that referenced this issue Jul 17, 2016
@cbeust cbeust closed this as completed in 6541827 Jul 18, 2016
cbeust added a commit that referenced this issue Jul 18, 2016
Fix issue #689: <groups> at <suite> level not applied to <suite-files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants