RSpec 3.x Global Hook Execution Order with Randomized Seed Values
RSpec 3.x utilizes a centralized RSpec.configure block to manage global hooks and expectations. In complex test suites with deeply nested context blocks, the framework executes hooks in a specific hierarchy: global hooks, followed by group-level hooks, and finally example-level hooks. When the --order random flag is applied, RSpec randomizes the execution se