Maven Surefire plugin: what does file system mean in runOrder?

I wanted to know if my integration tests would run in a specific order and see the documentation maven-failsafe-plugin

that

runOrder

:

Determines the order in which tests are run. Supported values ​​are "alphabetical", "reverse", "random", "hourly", (alphabetical by even hours, alphabetically by odd hours), "failedfirst", "balanced", and "file system". The odd / even for hourly is determined during classpath scanning, meaning it can change during the build of multiple modules. At first, tests that failed the previous run failed, as well as new tests for that run. Balanced only applies to parallel = classes and will try to optimize the test run so that all tests are completed at the same time reducing the overall execution time. Note that statistics are stored in a file named.surefire-XXXXXXXXX is next to pom.xml and should not be checked in source control. "XXXXX" is the SHA1 checksum of the entire configuration in sure mode, so different configurations will have different statistics files, which means if you change any configuration settings, you will be restarted once before new statistics can be set.

  • A type: java.lang.String

  • As: 2.7

  • Required: No

  • Default: filesystem

What does file system order mean? order of creating files?

+3


source to share


1 answer


When you list files in a directory, most tools show them alphabetically, but their actual "default order" is implementation-specific.

You can use ls -U to display this order on linux.



from the ls man page:

-U     do not sort; list entries in directory order

      

+1


source







All Articles