summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/namespace.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/namespace.rb')
-rw-r--r--qa/qa/runtime/namespace.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/qa/qa/runtime/namespace.rb b/qa/qa/runtime/namespace.rb
new file mode 100644
index 00000000000..e4910b63a14
--- /dev/null
+++ b/qa/qa/runtime/namespace.rb
@@ -0,0 +1,15 @@
+module QA
+ module Runtime
+ module Namespace
+ extend self
+
+ def time
+ @time ||= Time.now
+ end
+
+ def name
+ 'qa_test_' + time.strftime('%d_%m_%Y_%H-%M-%S')
+ end
+ end
+ end
+end