Sort and Run Tests
Asked at Amazon · Coding & Leetcode-style Questions · Difficulty: Medium
Given a `Test` class which includes multiple test cases, each with different fields, your task is to sort the list of test cases by a specified field and then execute each test concurrently while handling any errors.
Loading the problem…