By Timur Borodin
The class ArraysComparator
contains a static method - similar
that tests 2 arrays for
similarity.
Similarity is defined as both arrays include all elements without respect to order.
- JUnitTestSuite - executes all JUnit5 tests
- CucumberTestSuite - executes all Cucumber tests
- JUnit5 -
ArraysComparatorTest
class with tests- JUnitTestSuite - suite for running all JUnit5 tests
- Cucumber
- ArraysTests.feature - describes tests on short and simple arrays
- ArraysLongTest.feature - describes tests on long and very long arrays
- CucumberStepDefs - Cucumber Step Definitions for the 2 feature files
- CucumberTestSuite - Suite for the 2 feature files
- Utils - Utility methods for tests
createArrayWithRandomPositiveNumbers
createArrayWithRandomNumbers
shuffleArray
- Java 17
- Maven
- JUnit 5.9.0
- Cucumber 7.5.0