ue4-test-runner 0.0.3 → 0.0.6
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/bin/ue4-test-runner +1 -0
- data/lib/runner.rb +4 -3
- metadata +4 -3
- data/bin/ue4-test-runner.exe +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e173e58ac2af6e20415749783433dfd00f68aaa25b4c01db4612a67cbbf0b181
|
4
|
+
data.tar.gz: c765e35d12809641701f1dcac0a4c50a46a1945b193b7c8cd455d44a684ffc71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 528db3f449f6872898af2dd7f6010070b51e33cee7576d7dfa8d087e02ef0a639771b6a81c78a5e27070b051a142b77cbf17f7521cd293621a5556a8f436c2ac
|
7
|
+
data.tar.gz: 3d9470144a43b98830a601189a8babe7e9bf38ef2497d211495bb123ad1a39057ce7459bc15e60ab5f914b4f62df5dce9a1e6174f2c443c91f5c0534a5acc4dd
|
data/bin/ue4-test-runner
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'ue4-test-runner'
|
data/lib/runner.rb
CHANGED
@@ -6,6 +6,7 @@ module UE4TestRunner
|
|
6
6
|
EXECUTABLE_LOCATION = "\\Engine\\Binaries\\Win64\\UE4Editor-Cmd.exe"
|
7
7
|
FLAGS = '-unattended -silent -nopause -NullRHI -testexit="Automation Test Queue Empty" -log -log=RunTests.log'
|
8
8
|
MISSING_FILE_ERROR_MESSAGE = "File does not exists D:"
|
9
|
+
MISSING_PROJECT_FILE_ERROR_MESSAGE = "uproject file does not exists D: make sure you're in the ue4 project root directory"
|
9
10
|
TEST_RESULT_DIR = 'TestResult'
|
10
11
|
|
11
12
|
def run
|
@@ -20,8 +21,8 @@ module UE4TestRunner
|
|
20
21
|
tests.each {|test| puts test.pretty}
|
21
22
|
|
22
23
|
FileUtils.rm_rf("#{current_directory}#{TEST_RESULT_DIR}")
|
23
|
-
rescue RuntimeError
|
24
|
-
puts
|
24
|
+
rescue RuntimeError => error
|
25
|
+
puts error
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
@@ -31,7 +32,7 @@ module UE4TestRunner
|
|
31
32
|
|
32
33
|
def project_file_path
|
33
34
|
file = Dir.entries(".").select {|file_name| file_name.include?('.uproject')}.first
|
34
|
-
raise
|
35
|
+
raise MISSING_PROJECT_FILE_ERROR_MESSAGE if file.nil?
|
35
36
|
File.expand_path(file, File.dirname(file))
|
36
37
|
end
|
37
38
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ue4-test-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facundo Gerstner
|
@@ -13,11 +13,12 @@ dependencies: []
|
|
13
13
|
description:
|
14
14
|
email:
|
15
15
|
- facugerstner29@gmail.com
|
16
|
-
executables:
|
16
|
+
executables:
|
17
|
+
- ue4-test-runner
|
17
18
|
extensions: []
|
18
19
|
extra_rdoc_files: []
|
19
20
|
files:
|
20
|
-
- bin/ue4-test-runner
|
21
|
+
- bin/ue4-test-runner
|
21
22
|
- lib/TestResult/index.html
|
22
23
|
- lib/TestResult/index.json
|
23
24
|
- lib/base_test.rb
|
data/bin/ue4-test-runner.exe
DELETED
Binary file
|