All Collections
Hexawise Features
Parameter Definition
How do I create ranged Values in Hexawise?
How do I create ranged Values in Hexawise?

"Hidden" functionality to automatically turn your inputs into numbered ranges.

Scott Johnson avatar
Written by Scott Johnson
Updated over a week ago

So you have a test model such as shown below:

You are trying to test a ratings engine. You know the business rules require age ranges to be tested. You thought that descriptive fields would work.

Descriptions vs. Numbers

Instead of descriptions, maybe you could use the numbers for the ones you want tested.

And what about Boundary Testing?

You need to test around the cutoffs for certain business rules, too. But that adds too many values.

Let Hexawise generate your values!

Creating a ranged value solves all these problems and more! Using the syntax 'number space hyphen space number' or '# - #', Hexawise will recognize this as a range of values to choose from. 

Additionally, Hexawise will view a ranged value as a set of numbers inclusive of your endpoints. Therefore, Hexawise will in effect boundary test your range and then randomly choose numbers from within that range (as it needs for tests).

Your tests will never be the same

See below how the ranged values above turn into values to use in your tests.

Caveat Emptor!

Hexawise can recognize many options for ranges. We recommend having the same number of decimals across all numbers in a range. Additionally, all ranged values must not overlap. The tool will not recognize logic like in alphanumeric codes either.

See below for an example of ranges as inputs followed by the outputs Hexawise provides.

Did this answer your question?