Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8627927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:24:18+00:00 2026-06-12T08:24:18+00:00

I have a large set of tests that I would like to be able

  • 0

I have a large set of tests that I would like to be able to filter so that I can run specific tests. I am currently using JBehave with JUnit

If I have three sets of criteria
priority with values from 1 to 5
colours with possible values of red, green, blue and yellow
day with possible values of the days of the week

If I set up a ‘filter’ of priority == 1, colour == blue, day == Tuesday then I will get all of the tests where the criteria has either a priority == 1 OR colour == blue OR day == Tuesday. This is whether I use JUnit, TestNG or the JBehave Meta filters.

What I actually want are only the tests where priority == 1 AND colour == blue AND day == Tuesday.

Is there any framework that I can use to be able to do this? In the application I will have about 8 different sets of criteria to and each criteria will have a maximum of about 4 values.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:24:20+00:00Added an answer on June 12, 2026 at 8:24 am

    You can use TestNG with groups and BeanShell to implement the logic. Details here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large set of data that is generated from a web service
I have a large set of documents in a CouchDB database that were just
Using PHP , I would like to make a while loop that reads a
I have a large set of NUnit tests; I need to import the results
In a larger project, I have set up ./tests/Makefile.am to run a number of
I would like to send large files from the server to the client using
I would like to run a set of methods given some data. I was
I would like to perform some arbitrarily expensive work on an arbitrarily large set
I have large set of flow charts and workflow diagrams. I want to draw
I have a large set of numbers, probably in the multiple gigabytes range. First

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.