From d792a7f4e1222c82c4fb94c086c696c8640f9e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:07:59 -0300 Subject: [PATCH] Simplify random runner --- test/spec/runners/random.ex | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/test/spec/runners/random.ex b/test/spec/runners/random.ex index 2ea9980ac..5fd9a957b 100644 --- a/test/spec/runners/random.ex +++ b/test/spec/runners/random.ex @@ -6,34 +6,9 @@ defmodule RandomTestRunner do use ExUnit.CaseTemplate use TestRunner - @disabled_cases [ - # "randomized_0", - # "randomized_1", - # "randomized_2", - # "randomized_3", - # "randomized_4", - # "randomized_5", - # "randomized_6", - # "randomized_7", - # "randomized_8", - # "randomized_9", - # "randomized_10", - # "randomized_11", - # "randomized_12", - # "randomized_13", - # "randomized_14", - # "randomized_15" - ] - @impl TestRunner - def skip?(%SpecTestCase{fork: "capella", case: testcase}) do - Enum.member?(@disabled_cases, testcase) - end - - def skip?(%SpecTestCase{fork: "deneb", case: testcase}) do - Enum.member?(@disabled_cases, testcase) - end - + def skip?(%SpecTestCase{fork: "capella"}), do: false + def skip?(%SpecTestCase{fork: "deneb"}), do: false def skip?(_), do: true @impl TestRunner