inferno_core 0.4.18 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fc795a49145b262a250f35b8653e39c506313af4788f1b82ef274c4c4ea7960
4
- data.tar.gz: 29214802809c59187e4923eaa9f8b1844ebab5f0dffa32738242721de55b4b85
3
+ metadata.gz: ccd619a77a04e3fa092d9b2090a1bc1f53b8d0e34027b8cfd3dd0c03a8212d04
4
+ data.tar.gz: 20191611704b5e4dffac41bf0fa528a38ba79b1d86052b43c20853646af2d9fe
5
5
  SHA512:
6
- metadata.gz: 71c77cd25ddef3ea505359a81b1e979fdcf528e87587ad3b518e5389418a423bacd1965396d7a31f7b7ad3bef3b70465c63654dbb95bd7290e7e35d9f906f7dc
7
- data.tar.gz: fc5abb31735fbc351084ee8ed8d385dbcfab4637bcea8338c58fa79bebcf5bb65314e33cc3e619b96b83b495aadd1225b4cf9f8267ff0c92b0394fad0f2cb57d
6
+ metadata.gz: 6fa722f33598020a4ec742729e66148aaa61b652b2f08d07cf79be1f17f6a8120e467432818fb39383d4fbe50a8f902e5384dc93c30cddb654fd53abbadab40e
7
+ data.tar.gz: 6a2740906607fda7a0dba543b9255a8fb4c0e296288bad0d5044d40dd20347d7e797177b708715328e778c05766600f2dc728244a3863f69521d340cae011b26
@@ -36,7 +36,7 @@ module Inferno
36
36
  command = "rerun \"#{command}\" --background"
37
37
  end
38
38
 
39
- system command
39
+ exec command
40
40
  end
41
41
 
42
42
  desc 'suites', 'List available test suites'
@@ -25,5 +25,13 @@ Inferno::Application.boot(:suites) do
25
25
  end
26
26
 
27
27
  ObjectSpace.each_object(TracePoint, &:disable)
28
+
29
+ Inferno::Entities::TestSuite.descendants.each do |descendant|
30
+ # When ID not assigned in custom test suites, Runnable.id will return default ID
31
+ # equal to the custom test suite's parent class name
32
+ if descendant.id.blank? || descendant.id == 'Inferno::Entities::TestSuite'
33
+ raise StandardError, "Error initializing test suite #{descendant.name}: test suite ID is not set"
34
+ end
35
+ end
28
36
  end
29
37
  end