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 +4 -4
- data/lib/inferno/apps/cli/main.rb +1 -1
- data/lib/inferno/config/boot/suites.rb +8 -0
- data/lib/inferno/public/bundle.js +15 -15
- data/lib/inferno/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccd619a77a04e3fa092d9b2090a1bc1f53b8d0e34027b8cfd3dd0c03a8212d04
|
4
|
+
data.tar.gz: 20191611704b5e4dffac41bf0fa528a38ba79b1d86052b43c20853646af2d9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fa722f33598020a4ec742729e66148aaa61b652b2f08d07cf79be1f17f6a8120e467432818fb39383d4fbe50a8f902e5384dc93c30cddb654fd53abbadab40e
|
7
|
+
data.tar.gz: 6a2740906607fda7a0dba543b9255a8fb4c0e296288bad0d5044d40dd20347d7e797177b708715328e778c05766600f2dc728244a3863f69521d340cae011b26
|
@@ -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
|